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 cfc68ac commit 1ff9e85Copy full SHA for 1ff9e85
1 file changed
frontend/src/ts/test/test-logic.ts
@@ -1323,7 +1323,8 @@ export function fail(reason: string): void {
1323
TestInput.pushErrorToHistory();
1324
TestInput.pushAfkToHistory();
1325
void finish(true);
1326
- if (!Config.resultSaving) return;
+ // When test is repeated we already do the rest of this function in finish.
1327
+ if (!Config.resultSaving || TestState.isRepeated) return;
1328
const testSeconds = TestStats.calculateTestSeconds(performance.now());
1329
const afkseconds = TestStats.calculateAfkSeconds(testSeconds);
1330
let tt = Numbers.roundTo2(testSeconds - afkseconds);
0 commit comments