14 lines
345 B
TypeScript
14 lines
345 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
cacheDir: '/tmp/kaptan-ground-suite-vitest-cache',
|
|
test: {
|
|
environment: 'jsdom',
|
|
setupFiles: ['./src/test/setup.ts'],
|
|
include: ['src/**/*.test.{ts,tsx}'],
|
|
restoreMocks: true,
|
|
},
|
|
});
|