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 56ab67a commit 6014f0aCopy full SHA for 6014f0a
lib/internal/test_runner/test.js
@@ -150,7 +150,7 @@ function stopTest(timeout, signal) {
150
151
disposeFunction = () => {
152
abortListener[SymbolDispose]();
153
- clearTimeout(timer);
+ timer[SymbolDispose]();
154
};
155
}
156
@@ -680,7 +680,7 @@ class Test extends AsyncResource {
680
this.expectedAssertions = plan;
681
this.cancelled = false;
682
this.expectFailure = parseExpectFailure(expectFailure) || this.parent?.expectFailure;
683
- this.skipped = Boolean(skip);
+ this.skipped = !!skip;
684
this.isTodo = (todo !== undefined && todo !== false) || this.parent?.isTodo;
685
this.startTime = null;
686
this.endTime = null;
0 commit comments