Skip to content

Commit c222098

Browse files
committed
fix: previous commit nuking the timer
1 parent 0e5dd85 commit c222098

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/src/ts/test/test-logic.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ import { canQuickRestart } from "../utils/quick-restart";
6868
import { animate } from "animejs";
6969
import { setInputElementValue } from "../input/input-element";
7070
import { debounce } from "throttle-debounce";
71+
import * as Time from "../states/time";
7172

7273
let failReason = "";
7374

@@ -100,6 +101,7 @@ export function startTest(now: number): boolean {
100101
Replay.startReplayRecording();
101102
Replay.replayGetWordsList(TestWords.words.list);
102103
TestInput.resetKeypressTimings();
104+
Time.set(0);
103105
TestTimer.clear();
104106

105107
for (const fb of getActiveFunboxesWithFunction("start")) {

0 commit comments

Comments
 (0)