Skip to content

Commit 7f72e89

Browse files
committed
lint fix
1 parent 1c2b914 commit 7f72e89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/run-status.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ export default class RunStatus extends Emittery {
125125
case 'timeout':
126126
event.pendingTests = this.pendingTests;
127127
this.pendingTests = new Map();
128-
event.pendingTests.forEach((testsInFile) => stats.timeouts += testsInFile.size);
128+
for (const [, testsInFile] of event.pendingTests.entries()) {
129+
stats.timeouts += testsInFile.size;
130+
}
131+
129132
break;
130133
case 'interrupt':
131134
event.pendingTests = this.pendingTests;

0 commit comments

Comments
 (0)