monkeytype/frontend
Leonabcd123 9654ac505c
fix(test-timer): test timer doesn't stop right after a test ends (@Leonabcd123) (#7230)
### Description

In the current implementation, the time difference between `now` and
when we call `TestTimer.clear()` is high enough, so that if the test
duration is really close to a whole number (say `3.96`), then
`TestTimer` will continue to run up until the whole number, and will
push another wpm entry to `wpmHistory` and another raw entry to
`rawHistory`, causing the result chart to be messed up. This
implementation clears `TestTimer` right after calculating `now` to
hopefully allow for a smaller time difference between `now` and
`TestTimer`.

Also fixed some typos in comments.
2025-12-13 23:48:15 +01:00
..
__tests__ refactor: add options object to setConfig (@miodec) (#7228) 2025-12-12 16:55:33 +01:00
docker
scripts chore: prettier upgrade (@miodec) (#7159) 2025-11-27 00:20:09 +01:00
src fix(test-timer): test timer doesn't stop right after a test ends (@Leonabcd123) (#7230) 2025-12-13 23:48:15 +01:00
static impr(quotes): add english quote (@lorenzjdr) (#7214) 2025-12-11 17:13:49 +01:00
vite-plugins build: combine vite config into a single file (@fehmer) (#7190) 2025-12-05 19:45:12 +01:00
.eslintrc.cjs
.firebaserc_example
.oxlintrc.json
firebase.json
package.json chore: add script to deploy preview frontend 2025-12-10 14:35:22 +01:00
tsconfig.json build: combine vite config into a single file (@fehmer) (#7190) 2025-12-05 19:45:12 +01:00
vite.config.ts build: fix fontawesome font path in development mode (@fehmer) (#7233) 2025-12-13 23:47:39 +01:00
vitest.config.ts build: combine vite config into a single file (@fehmer) (#7190) 2025-12-05 19:45:12 +01:00