Skip to content

Commit

Permalink
impr: add testWords and wordsHistory to copy result stats (#5085)
Browse files Browse the repository at this point in the history
* feat: add testWords and wordsHistory to copy result stats

* fix
  • Loading branch information
fehmer committed Feb 19, 2024
1 parent 7c0425e commit 06c50de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/ts/test/test-stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export function getStats(): unknown {
accuracy: TestInput.accuracy,
keypressTimings: TestInput.keypressTimings,
keyOverlap: TestInput.keyOverlap,
wordsHistory: TestWords.words.list.slice(0, TestInput.input.history.length),
inputHistory: TestInput.input.history,
};

try {
Expand Down

0 comments on commit 06c50de

Please sign in to comment.