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 1c2b914 commit ff58807Copy full SHA for ff58807
lib/run-status.js
@@ -125,7 +125,11 @@ export default class RunStatus extends Emittery {
125
case 'timeout':
126
event.pendingTests = this.pendingTests;
127
this.pendingTests = new Map();
128
- event.pendingTests.forEach((testsInFile) => stats.timeouts += testsInFile.size);
+ for (const [_, testsInFile] of event.pendingTests.entries()) {
129
+ console.log(testsInFile, _)
130
+ stats.timeouts += testsInFile.size;
131
+ }
132
+
133
break;
134
case 'interrupt':
135
0 commit comments