Skip to content

Commit

Permalink
chore(vite): run tests in single thread mode
Browse files Browse the repository at this point in the history
This avoids a segmentation fault when executing tests.

Refs: vitest-dev/vitest#3143
  • Loading branch information
oliviera9 authored and envin3 committed Jul 11, 2023
1 parent 8bb7a40 commit 50915ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ export default defineConfig(() => ({
globals: true,
environment: 'jsdom',
setupFiles: './src/test.setup.js',
threads: false,
},
}))

0 comments on commit 50915ad

Please sign in to comment.