17 lines
390 B
TypeScript
17 lines
390 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
coverage: {
|
|
include: ['src/**'],
|
|
reporter: ['text', 'html', 'lcov', 'json'],
|
|
},
|
|
exclude: [
|
|
'**/node_modules/**',
|
|
'**/dist/**',
|
|
// E2E tests require API keys — run with: npm run test:e2e
|
|
...(process.env['RUN_E2E'] ? [] : ['tests/e2e/**']),
|
|
],
|
|
},
|
|
})
|