18 lines
349 B
TypeScript
18 lines
349 B
TypeScript
import react from '@vitejs/plugin-react';
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: 'jsdom',
|
|
coverage: {
|
|
provider: 'c8',
|
|
reporter: ['html'],
|
|
all: true,
|
|
exclude: ['.next/', '.yarn/', 'data/']
|
|
}
|
|
},
|
|
});
|