A platform for community discussion. Free, open, simple.
DEV: Move the failures list to the end of output (#11082)
Jarek Radoszac5c457d9e50
diff --git a/test/run-qunit.js b/test/run-qunit.jsindex 01a0c1aaec8..018b14b31b4 100644--- a/test/run-qunit.js+++ b/test/run-qunit.js@@ -234,15 +234,6 @@ function logQUnit() {QUnit.done(function (context) {console.log("\n");- if (testErrors.length) {- console.log("Test Errors");- console.log("----------------------------------------------");- testErrors.forEach((e) => {- console.error(e);- });- console.log("\n");- }-console.log("Slowest tests");console.log("----------------------------------------------");let ary = Object.keys(durations).map((key) => ({@@ -254,6 +245,17 @@ function logQUnit() {console.log(pair.key + ": " + pair.value + "ms");});+ console.log("\n");++ if (testErrors.length) {+ console.log("Test Errors");+ console.log("----------------------------------------------");+ testErrors.forEach((e) => {+ console.error(e);+ });+ console.log("\n");+ }+var stats = ["Time: " + context.runtime + "ms","Total: " + context.total,