15 lines
396 B
TypeScript
15 lines
396 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['**/*.test.ts'],
|
|
exclude: ['**/node_modules/**', 'dist'],
|
|
// Run test files sequentially to avoid port conflicts
|
|
fileParallelism: false,
|
|
// Increase timeout for server tests in CI
|
|
testTimeout: 15000,
|
|
hookTimeout: 30000
|
|
}
|
|
});
|