A platform for community discussion. Free, open, simple.
DEV: Correct error handling in run-qunit
David Taylor584021ca380a
diff --git a/test/run-qunit.js b/test/run-qunit.jsindex a7cd8ad7671..6c57ecd478b 100644--- a/test/run-qunit.js+++ b/test/run-qunit.js@@ -127,12 +127,10 @@ async function runAllTests() {});}-try {- runAllTests();-} catch (e) {+runAllTests().catch(e => {console.log("Failed to run tests: " + e);process.exit(1);-}+});// The following functions are converted to strings// And then sent to chrome to be evalaluated