don't copy lastrun.failedTestIDs
This commit is contained in:
parent
835320908a
commit
fce88122c6
|
|
@ -221,7 +221,7 @@ export async function runWatchModeLoop(configLocation: ConfigLocation, initialOp
|
||||||
} else if (lastRun.type === 'changed') {
|
} else if (lastRun.type === 'changed') {
|
||||||
await runTests(options, testServerConnection, { title: 're-running tests', testIds: lastRun.dirtyTestIds });
|
await runTests(options, testServerConnection, { title: 're-running tests', testIds: lastRun.dirtyTestIds });
|
||||||
} else if (lastRun.type === 'failed') {
|
} else if (lastRun.type === 'failed') {
|
||||||
await runTests({}, testServerConnection, { title: 're-running tests', testIds: [...lastRun.failedTestIds!] });
|
await runTests({}, testServerConnection, { title: 're-running tests', testIds: lastRun.failedTestIds });
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue