mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
fix(test): isolate jsdom storage on Node 26
This commit is contained in:
@@ -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