diff --git a/package.json b/package.json index 6b9dd29e9..1bf39aaf4 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,6 @@ }, "scripts": { "build": "node build", - "test": "node test/test;node test/test-build" + "test": "node test/test && node test/test-build" } } diff --git a/vendor/qunit-clib/qunit-clib.js b/vendor/qunit-clib/qunit-clib.js index e487c03e7..e3edde6be 100644 --- a/vendor/qunit-clib/qunit-clib.js +++ b/vendor/qunit-clib/qunit-clib.js @@ -171,7 +171,7 @@ // exit out of Node.js try { - process.exit(); + process.exit(details.failed); } catch(e) { } }