Files
Codewalkers/vitest.config.ts
2026-02-07 00:33:12 +01:00

20 lines
483 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
// Enable test globals (describe, it, expect without imports)
globals: true,
env: {
CW_LOG_LEVEL: 'silent',
},
// Test file pattern
include: ['**/*.test.ts'],
// TypeScript support uses tsconfig.json automatically
// Coverage reporter (optional, for future use)
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
},
},
});