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 2287dbc commit 58330d0Copy full SHA for 58330d0
src/testRunner/parallel/worker.ts
@@ -41,7 +41,7 @@ namespace Harness.Parallel.Worker {
41
return class extends (base as typeof Mocha.Runnable) {
42
resetTimeout() {
43
this.clearTimeout();
44
- if (this.enableTimeouts()) {
+ if (this.timeout() > 0) {
45
sendMessage({ type: "timeout", payload: { duration: this.timeout() || 1e9 } });
46
this.timer = true;
47
}
0 commit comments