Socket
Socket
Sign inDemoInstall

nodeunit

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodeunit - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

.travis.yml

12

lib/reporters/tap.js

@@ -8,3 +8,3 @@ /**

assert = require('tap').assert,
TapProducer = require('tap').Producer,
tap = require('tap'),
fs = require('fs');

@@ -38,8 +38,8 @@

});
var output = new TapProducer();
output.pipe(process.stdout);
tap.pipe(process.stdout);
nodeunit.runFiles(paths, {
testStart: function (name) {
output.write(name.toString());
process.stdout.write(name.toString());
},

@@ -61,7 +61,7 @@ testDone: function (name, assertions) {

}
output.write(assert(e.passed(), e.message, extra));
tap.assert(e.passed(), e.message, extra);
});
},
done: function (assertions) {
output.end();
tap.end();
if (callback) callback(assertions.failures() ? new Error('We have got test failures.') : undefined);

@@ -68,0 +68,0 @@ }

{
"name": "nodeunit",
"version": "0.10.0",
"version": "0.10.1",
"description": "Easy unit testing for node.js and the browser.",

@@ -5,0 +5,0 @@ "maintainers": [

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