repeating repeated test if restarted during the test

closes #3331
This commit is contained in:
Miodec 2022-07-11 14:11:07 +02:00
parent 06b17cb09e
commit 4b863d6502

View file

@ -360,6 +360,9 @@ export function restart(
) {
withSameWordset = true;
}
if (TestState.isRepeated) {
withSameWordset = true;
}
TestInput.pushKeypressesToHistory();
const testSeconds = TestStats.calculateTestSeconds(performance.now());