mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
20 lines
714 B
TypeScript
20 lines
714 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-invariants.ts'],
|
|
include: [
|
|
'apps/cli/tests/**/*.expected.e2e.ts',
|
|
],
|
|
testTimeout: 120_000,
|
|
hookTimeout: 30_000,
|
|
maxWorkers: Math.min(5, availableParallelism()),
|
|
},
|
|
})
|