1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| import { defineConfig } from 'vitest/config';
|
| const config = async () => {
| const { default: vue } = await import('@vitejs/plugin-vue');
| return {
| plugins: [vue()],
| test: {
| environment: 'happy-dom',
| fileParallelism: false,
| include: ['tests/**/*.test.ts'],
| },
| };
| };
|
| export default defineConfig(config as Parameters<typeof defineConfig>[0]);
|
|