Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qunit

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qunit - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

1

lib/testrunner.js

@@ -131,2 +131,3 @@ var fs = require('fs'),

!opts.log && (opts.log = {});
opts.deps = absPaths(opts.deps);

@@ -133,0 +134,0 @@ opts.code = absPath(opts.code);

2

package.json
{
"name": "qunit",
"description": "A port of QUnit unit testing framework to nodejs",
"version": "0.5.0",
"version": "0.5.1",
"author": "Oleg Slobodskoi <oleg008@gmail.com>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -107,20 +107,32 @@ ## This is a port of QUnit unit testing framework to nodejs

{
// logging options
log: {
// log assertions overview
assertions: true,
// log assertions overview
assertions: true,
// log expected and actual values for failed tests
errors: true,
// log expected and actual values for failed tests
errors: true,
// log tests overview
tests: true,
// log tests overview
tests: true,
// log summary
summary: true,
// log summary
summary: true,
// log global summary (all files)
globalSummary: true,
// log global summary (all files)
globalSummary: true,
// log currently testing code file
testing: true
// log currently testing code file
testing: true
},
// run test coverage tool
coverage: false,
// define dependencies, which are required then before code
deps: null,
// define namespace your code will be attached to on global['your namespace']
namespace: null
}

@@ -127,0 +139,0 @@

@@ -11,10 +11,5 @@ var a = require('assert'),

_.extend(tr.options.log, {
assertions: false,
tests: false,
summary: false,
globalSummary: false,
errors: false,
assertions: false
});
tr.options.log = {
testing: true
};

@@ -21,0 +16,0 @@ // reset log stats every time .next is called

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc