Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
il3ven committed May 8, 2022
1 parent 1c2b914 commit 7f72e89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/run-status.js
Expand Up @@ -125,7 +125,10 @@ export default class RunStatus extends Emittery {
case 'timeout':
event.pendingTests = this.pendingTests;
this.pendingTests = new Map();
event.pendingTests.forEach((testsInFile) => stats.timeouts += testsInFile.size);
for (const [, testsInFile] of event.pendingTests.entries()) {
stats.timeouts += testsInFile.size;
}

break;
case 'interrupt':
event.pendingTests = this.pendingTests;
Expand Down

0 comments on commit 7f72e89

Please sign in to comment.