Files
tasknote/vitest.config.ts
T

18 lines
390 B
TypeScript

import { defineConfig } from 'vitest/config';
import react from '@vitejs/plugin-react';
import { fileURLToPath } from 'url';
export default defineConfig({
plugins: [react()],
test: {
globals: true,
environment: 'jsdom',
setupFiles: './src/__test__/setup.ts',
css: false,
coverage: {
provider: 'v8',
reporter: ['lcov', 'cobertura', 'html']
}
}
});