Comparing version 0.10.0 to 0.10.1
@@ -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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
793481
85
8063