www/vitest.config.ts
2025-05-16 11:26:14 +12:00

17 lines
No EOL
381 B
TypeScript

/// <reference types="vitest" />
import { getViteConfig } from 'astro/config';
import { defaultExclude } from 'vitest/config';
export default getViteConfig({
test: {
exclude: [
...defaultExclude,
"**/*.spec.ts",
],
setupFiles: ['./src/tests/vitest.setup.ts'],
coverage: {
provider: 'istanbul',
reporter: ['text', 'html'],
},
},
});