2026-01-25 20:12:33 +08:00
|
|
|
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',
|
|
|
|
|
},
|
2026-01-26 08:56:17 +08:00
|
|
|
server: {
|
|
|
|
|
port: 2613,
|
|
|
|
|
},
|
2026-01-25 20:12:33 +08:00
|
|
|
});
|