diff --git a/.mocharc.js b/.mocharc.js index e539d3b..05a7cc9 100644 --- a/.mocharc.js +++ b/.mocharc.js @@ -1,7 +1,6 @@ 'use strict'; module.exports = { - delay: true, enableSourceMaps: true, reporter: 'dot', spec: 'tests/{**,}/*.test.js', diff --git a/tests/conformance.test.js b/tests/conformance.test.js index 488c307..6ee5183 100644 --- a/tests/conformance.test.js +++ b/tests/conformance.test.js @@ -221,9 +221,10 @@ const specialEncodings = { } } }); - - run(); // This is a Mocha global. -})(); +})().catch(err => { + console.error(err); + process.exit(1); +}); // -- Helpers ------------------------------------------------------------------ function createTest(testRoot, test) {