Skip to content

Commit

Permalink
test: temporarily fix Vitest 2 cachedChecks issue
Browse files Browse the repository at this point in the history
  • Loading branch information
toomuchdesign committed Jul 21, 2024
1 parent d31448f commit d166d6c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ export default defineConfig({
test: {
typecheck: { enabled: true },
setupFiles: ['vitest.setup.ts'],
pool: 'forks',
poolOptions: {
threads: {
singleThread: true,
forks: {
singleFork: true,
},
},
exclude: ['*skipped.test*'],
sequence: {
hooks: 'stack',
concurrent: false,
shuffle: true,
},
coverage: {
Expand All @@ -22,4 +21,10 @@ export default defineConfig({
reporter: [['lcov', { projectRoot: './' }], ['text']],
},
},
// https://github.com/vitest-dev/vitest/issues/6152
server: {
fs: {
cachedChecks: false,
},
},
});

0 comments on commit d166d6c

Please sign in to comment.