mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
23 lines
485 B
TypeScript
23 lines
485 B
TypeScript
import react from '@vitejs/plugin-react';
|
|
|
|
import { configDefaults, 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'],
|
|
exclude: [
|
|
...configDefaults.exclude,
|
|
'.next',
|
|
],
|
|
},
|
|
});
|