diff --git a/test/run_tests.js b/test/run_tests.js index eb282b13a..4bad0bd61 100644 --- a/test/run_tests.js +++ b/test/run_tests.js @@ -6,5 +6,9 @@ var dirName = path.join(__dirname, './fixtures'), testFiles = fs.readdirSync(dirName); process.chdir(dirName); -reporter.run(testFiles); + +reporter.run(testFiles, null, function (err) { + if(err) + process.exit(1); +});