mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-11 14:41:17 +08:00
fixed failed tests having extra afk time
This commit is contained in:
parent
33ccb2e6ef
commit
ec8bed0a6d
1 changed files with 1 additions and 1 deletions
|
|
@ -1935,7 +1935,7 @@ export function finish(difficultyFailed = false) {
|
|||
export function fail() {
|
||||
input.pushHistory();
|
||||
corrected.pushHistory();
|
||||
// TestStats.pushKeypressesToHistory();
|
||||
TestStats.pushKeypressesToHistory();
|
||||
finish(true);
|
||||
let testSeconds = TestStats.calculateTestSeconds(performance.now());
|
||||
let afkseconds = TestStats.calculateAfkSeconds(testSeconds);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue