mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-08 22:45:49 +01:00
20 lines
531 B
TypeScript
20 lines
531 B
TypeScript
import react from '@vitejs/plugin-react';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
import { configDefaults, defineConfig } from 'vitest/config';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tsconfigPaths()],
|
|
test: {
|
|
environment: 'happy-dom',
|
|
coverage: {
|
|
provider: 'c8',
|
|
reporter: ['html'],
|
|
all: true,
|
|
exclude: ['.next/', '.yarn/', 'data/'],
|
|
},
|
|
setupFiles: ['./tests/setupVitest.ts'],
|
|
exclude: [...configDefaults.exclude, '.next'],
|
|
},
|
|
});
|