Files
Ncurator/vitest.backend.live.config.mts
T
Yoan Huang 81b130bb67 feat(tests): update execution modes and improve workspace binding
- Set execution mode to 'exclusive' for specific e2e tests to ensure isolated execution.
- Set execution mode to 'live' for various e2e tests to enable real-time interactions.
- Refactor workspace binding in tests to use direct binding method for improved reliability.
- Enable file parallelism in Vitest configurations to enhance test execution efficiency.
2026-07-26 10:54:29 +08:00

15 lines
384 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
include: ['tests/case/**/*.test.ts'],
exclude: ['tests/**/*.e2e.test.ts', 'tests/harness/**', 'tests/fixtures/**', 'tests/logs/**'],
environment: 'node',
globals: true,
fileParallelism: true,
testTimeout: 900_000,
hookTimeout: 900_000,
passWithNoTests: false
}
})