fixed local 'tests started' stat being wrong

This commit is contained in:
Miodec 2023-03-14 12:13:14 +01:00
parent 1545960215
commit d518f8f89e

View file

@ -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