Files
Homarr/vitest.config.ts

21 lines
412 B
TypeScript
Raw Normal View History

2023-03-17 22:10:00 +01:00
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vitest/config';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
test: {
2023-03-22 13:29:00 +01:00
environment: 'happy-dom',
2023-03-17 23:17:58 +01:00
coverage: {
provider: 'c8',
reporter: ['html'],
all: true,
2023-03-22 13:29:00 +01:00
exclude: ['.next/', '.yarn/', 'data/'],
2023-03-20 23:17:17 +01:00
},
setupFiles: [
2023-03-22 13:29:00 +01:00
'./tests/setupVitest.ts',
],
2023-03-17 22:10:00 +01:00
},
});