EXPERIMENTAL: more js tests logs (#7620)

EXPERIMENTAL: more js tests logs (#7620)

diff --git a/test/javascripts/test_helper.js b/test/javascripts/test_helper.js
index 14d79bb..a98ae14 100644
--- a/test/javascripts/test_helper.js
+++ b/test/javascripts/test_helper.js
@@ -101,7 +101,12 @@ function resetSite(siteSettings, extras) {
   Discourse.Site.resetCurrent(Discourse.Site.create(siteAttrs));
 }
 
+QUnit.testDone(function(ctx) {
+  console.log("-- " + ctx.runtime);
+});
+
 QUnit.testStart(function(ctx) {
+  console.log(ctx.module + " -> " + ctx.name);
   server = pretender.default();
 
   if (ctx.module.startsWith(acceptanceModulePrefix)) {
@@ -111,7 +116,11 @@ QUnit.testStart(function(ctx) {
       success: pretender.success
     };
 
-    applyPretender(ctx.module.replace(acceptanceModulePrefix, ""), server, helper);
+    applyPretender(
+      ctx.module.replace(acceptanceModulePrefix, ""),
+      server,
+      helper
+    );
   }
 
   // Allow our tests to change site settings and have them reset before the next test

GitHub sha: bed3560d

1 Like