feat(short-drama-agent-front): 完善镜头定位与项目配置

This commit is contained in:
GJ committed 2026-10-08 19:45:26 +08:00
1 parent 470b52e26d
commit 5b134207b8
66 files changed
+2042 -984

No files matched your search

+7 -2
View File
@@ -1,10 +1,15 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vitest/config'
import { configDefaults, defineConfig } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
/** 使用轻量 DOM 测试 API、异步状态和 Vue 页面行为。 */
export default defineConfig({
plugins: [vue()],
resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } },
test: { environment: 'happy-dom', restoreMocks: true }
test: {
environment: 'happy-dom',
restoreMocks: true,
/** 只检查当前 checkout,避免收集其它隔离 worktree 中的重复测试。 */
exclude: [...configDefaults.exclude, '**/.worktrees/**', '**/.worktree/**']
}
})