前端添加单元测试
Some checks failed
Go CI / test-and-build (push) Successful in 11s
Web CI / lint-test-build (push) Failing after 14s

This commit is contained in:
2026-04-06 14:48:21 +08:00
parent d5e0c4a0db
commit b98abab120
8 changed files with 989 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ export default mergeConfig(
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('./', import.meta.url)),
setupFiles: ['src/test/setup.js'],
},
}),
)