Files
deepseek-harness/vitest.expected.config.ts
Turtle f028f25667 refactor: remove runtime invariant plugins
Delete @deepseek-ai/dsh-invariants, every package's ./invariant companion
and its tests, the invariant gates and Vitest setup, the scoped-event
resolver generator, and the INVARIANT-coded listener rethrow paths.
Update docs, READMEs, Agent Notes, and add an upgrade guide.
2026-09-30 12:52:18 +08:00

20 lines
721 B
TypeScript

import { availableParallelism } from 'node:os'
import tsconfigPaths from 'vite-tsconfig-paths'
import { defineConfig } from 'vitest/config'
import { standardDecoratorPlugin, vitestExecArgv } from './vitest.shared.ts'
/** Owner-local assembled expected-output tests that do not use a recorded session as their input. */
export default defineConfig({
plugins: [tsconfigPaths({ projects: ['./tsconfig.base.json'] }), standardDecoratorPlugin()],
test: {
execArgv: vitestExecArgv,
setupFiles: ['./scripts/test-proxy-environment.ts'],
include: [
'apps/cli/tests/**/*.expected.e2e.ts',
],
testTimeout: 120_000,
hookTimeout: 30_000,
maxWorkers: Math.min(5, availableParallelism()),
},
})