Skip to content

Commit

Permalink
chore(vitest.config): change pool to threads and optimize deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnigos committed Sep 10, 2024
1 parent 02b01a3 commit 3dba22d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig({
test: {
globals: true,
root: './',
pool: 'forks',
pool: 'threads',
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html', 'lcov'],
Expand Down Expand Up @@ -36,6 +36,13 @@ export default defineConfig({
],
all: true,
},
deps: {
optimizer: {
ssr: {
enabled: true,
},
},
},
},
plugins: [
tsconfigPaths(),
Expand Down

0 comments on commit 3dba22d

Please sign in to comment.