mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 08:55:32 +02:00
14 lines
359 B
TypeScript
14 lines
359 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'],
|
|
},
|
|
},
|
|
})
|