Skip to content

Commit

Permalink
Add a message to stderr when no test was found in modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mpizenberg committed Feb 13, 2021
1 parent ad44c02 commit 2c231a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/node_supervisor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() });
Expand Down

0 comments on commit 2c231a0

Please sign in to comment.