2026-08-24 15:41:36 +08:00
|
|
|
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [vue()],
|
|
|
|
|
resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } },
|
|
|
|
|
test: {
|
|
|
|
|
environment: 'jsdom',
|
2026-09-29 18:47:41 +08:00
|
|
|
include: ['scripts/phase4-test-frontend.acceptance.ts'],
|
2026-08-24 15:41:36 +08:00
|
|
|
fileParallelism: false,
|
|
|
|
|
testTimeout: 120_000,
|
|
|
|
|
hookTimeout: 120_000,
|
|
|
|
|
},
|
|
|
|
|
})
|