From 2c231a017efef8a734dd2790e57751f290110d2c Mon Sep 17 00:00:00 2001 From: Matthieu Pizenberg Date: Sat, 13 Feb 2021 16:09:07 +0100 Subject: [PATCH] Add a message to stderr when no test was found in modules --- templates/node_supervisor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/node_supervisor.js b/templates/node_supervisor.js index a66ea22..4fc163d 100644 --- a/templates/node_supervisor.js +++ b/templates/node_supervisor.js @@ -95,6 +95,7 @@ function setupWithTestsCount(runnerFile, msg) { // Send first runner job if (testsCount == 0) { + console.error("No exposed values of type Test was found. Did you forget to expose them?"); return; } else { runners[0].postMessage({ type_: "runTest", id: todoTests.pop() });