- 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.
15 lines
384 B
TypeScript
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
|
|
}
|
|
})
|