Skip to content

Commit

Permalink
fix(tests): high cpu usage
Browse files Browse the repository at this point in the history
- seemingly only on local machine, restart was required to get usage back to normal
- not sure if vitest is the actually the issue

Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Apr 6, 2023
1 parent e8f4718 commit cc6ffec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ const config: UserConfigExport = defineConfig((): UserConfig => {
},
setupFiles: ['./__tests__/setup/index.ts'],
silent: false,
singleThread: true,
slowTestThreshold: 5000,
snapshotFormat: {
callToJSON: true,
Expand Down

0 comments on commit cc6ffec

Please sign in to comment.