Skip to content

Commit 3473744

Browse files
committed
fixup! fixup! Don't restart timeout timer when receiving events from timed out workers
1 parent c9d3770 commit 3473744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class Api extends Emittery {
100100
}
101101

102102
runStatus.on('stateChange', record => {
103-
if (!timedOutWorkerFiles.has(record.testFile)) {
103+
if (record.testFile && !timedOutWorkerFiles.has(record.testFile)) {
104104
// Restart the timer whenever there is activity from workers that
105105
// haven't already timed out.
106106
restartTimer();

0 commit comments

Comments
 (0)