fix(test): isolate jsdom storage on Node 26
This commit is contained in:
1 parent
5335d61d11
commit
f04b35c6a4
15 files changed
+116
-10
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { availableParallelism } from 'node:os'
|
||||
import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import { vitestExecArgv } from './vitest.shared.ts'
|
||||
|
||||
const DEFAULT_SNAPSHOT_MAX_CONCURRENCY = 5
|
||||
|
||||
@@ -41,6 +42,7 @@ export default defineConfig({
|
||||
// this (the root tsconfig is a solution file with no paths).
|
||||
plugins: [tsconfigPaths({ projects: ['./tsconfig.base.json'] })],
|
||||
test: {
|
||||
execArgv: vitestExecArgv,
|
||||
setupFiles: ['./scripts/test-invariants.ts'],
|
||||
include: [
|
||||
'scripts/**/*.snapshot.ts',
|
||||
|
||||
Reference in new issue
Block a user