Skip to content

Commit 009d77f

Browse files
committed
Add index.js and update qunit-clib.
1 parent 34f0da4 commit 009d77f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: index.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./benchmark');

Diff for: vendor/qunit-clib/qunit-clib.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,12 @@
171171

172172
// exit out of Node.js
173173
try {
174-
process.exit(details.failed);
174+
if (details.failed) {
175+
console.error('Error: ' + details.failed + ' of ' + details.total + ' tests failed.');
176+
process.exit(1);
177+
} else {
178+
process.exit(0);
179+
}
175180
} catch(e) { }
176181
}
177182

0 commit comments

Comments
 (0)