mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-19 04:39:33 +01:00
16 lines
402 B
TypeScript
16 lines
402 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
globals: true,
|
||
|
|
environment: 'node',
|
||
|
|
include: ['test/**/*.test.ts'],
|
||
|
|
coverage: {
|
||
|
|
provider: 'v8',
|
||
|
|
reporter: ['text', 'json', 'html'],
|
||
|
|
include: ['src/**/*.ts'],
|
||
|
|
exclude: ['src/index.ts', 'src/cli.ts'],
|
||
|
|
},
|
||
|
|
testTimeout: 30000, // 30 seconds for integration tests
|
||
|
|
},
|
||
|
|
});
|