mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 22:06:38 +08:00
15 lines
397 B
TypeScript
15 lines
397 B
TypeScript
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vitest/config';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tsconfigPaths()],
|
|
test: {
|
|
environment: 'jsdom',
|
|
globals: true,
|
|
setupFiles: ['./tests/setup/vitest.setup.ts'],
|
|
include: ['tests/**/*.test.ts', 'tests/**/*.test.tsx'],
|
|
css: true,
|
|
},
|
|
});
|