Files
Homarr/vitest.config.ts
2023-03-29 10:20:01 +00:00

19 lines
399 B
TypeScript

import react from '@vitejs/plugin-react';
import { defineConfig } from 'vitest/config';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
test: {
environment: 'happy-dom',
coverage: {
provider: 'c8',
reporter: ['html'],
all: true,
exclude: ['.next/', '.yarn/', 'data/'],
},
setupFiles: ['./tests/setupVitest.ts'],
},
});