fix(frontend): install @testing-library/dom (missing peer under legacy-peer-deps)

This commit is contained in:
2026-09-15 11:50:44 +08:00
parent ca419410b4
commit 38957b4c2c
3 changed files with 112 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
import { defineConfig } from "vitest/config";
// 组件测试一律 colocate 在 src/ 组件目录(*.test.tsx);放 test/ 下的 .test.tsx 不会被任何 project 捕获
export default defineConfig({
resolve: { alias: { "@": new URL("./src", import.meta.url).pathname } },
test: {