Skip to content

Commit

Permalink
Bugfix : Running mulitple (> 3) test suites with async tests results …
Browse files Browse the repository at this point in the history
…in suite mixup and test failure #275 - eslint/formatting
  • Loading branch information
mellster2012 authored and ngarbezza committed Mar 4, 2024
1 parent 88517b6 commit 0090ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class Test {
const state = { isRunning: true };
await Promise.race([
this.#timeoutThreshold(context.testExecutionTimeoutMs, state),
TestResult.evaluate(this, context).then(result => state.isRunning = false),
TestResult.evaluate(this, context).then(_result => state.isRunning = false),
]);
}

Expand Down

0 comments on commit 0090ff3

Please sign in to comment.