We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acef0c8 commit 652c1bfCopy full SHA for 652c1bf
lib/command/workers/runTests.js
@@ -212,6 +212,8 @@ initPromise = (async function () {
212
await runPoolTests()
213
} else if (mocha.suite.total()) {
214
await runTests()
215
+ await new Promise(resolve => setTimeout(resolve, 100))
216
+ parentPort?.close()
217
} else {
218
// No tests to run, close the worker
219
console.error(`[Worker ${workerIndex}] ERROR: No tests found after filtering! Assigned ${tests.length} UIDs but none matched.`)
0 commit comments