mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-10 14:10:59 +08:00
fixed local 'tests started' stat being wrong
This commit is contained in:
parent
1545960215
commit
d518f8f89e
1 changed files with 1 additions and 1 deletions
|
|
@ -1798,7 +1798,7 @@ async function saveResult(
|
|||
}
|
||||
DB.saveLocalResult(completedEvent);
|
||||
DB.updateLocalStats(
|
||||
TestStats.restartCount + 1,
|
||||
completedEvent.incompleteTests.length + 1,
|
||||
completedEvent.testDuration +
|
||||
completedEvent.incompleteTestSeconds -
|
||||
completedEvent.afkDuration
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue