diff --git a/vitest.config.mts b/vitest.config.mts index fe60122..c1fa51c 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -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: { @@ -22,4 +21,10 @@ export default defineConfig({ reporter: [['lcov', { projectRoot: './' }], ['text']], }, }, + // https://github.com/vitest-dev/vitest/issues/6152 + server: { + fs: { + cachedChecks: false, + }, + }, });