26 lines
596 B
TypeScript
26 lines
596 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
name: 'integration',
|
|
globals: true,
|
|
environment: 'node',
|
|
testTimeout: 60000,
|
|
hookTimeout: 60000,
|
|
teardownTimeout: 10000,
|
|
isolate: true,
|
|
pool: 'forks',
|
|
poolOptions: {
|
|
forks: {
|
|
singleFork: true,
|
|
},
|
|
},
|
|
setupFiles: ['./setup.ts'],
|
|
include: ['**/*.e2e-spec.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'html'],
|
|
exclude: ['**/node_modules/**', '**/dist/**', '**/*.spec.ts', '**/*.config.ts'],
|
|
},
|
|
},
|
|
});
|