19 lines
387 B
TypeScript
19 lines
387 B
TypeScript
/// <reference types="vitest" />
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
setupFiles: './src/__test__/setup.ts',
|
|
css: false,
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['lcov', 'cobertura', 'html']
|
|
}
|
|
}
|
|
});
|