From 7d53c6ec49c79e0bd463bd143d76b1c8c9321903 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Sat, 13 Jul 2024 18:59:10 +0800 Subject: [PATCH] test: ignore test files Signed-off-by: Zxilly --- ui/vitest.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/vitest.config.ts b/ui/vitest.config.ts index bda45c566b..201af2eaeb 100644 --- a/ui/vitest.config.ts +++ b/ui/vitest.config.ts @@ -17,6 +17,8 @@ export default defineConfig({ "src/schema/schema.ts", "src/generated/schema.ts", "src/testhelper.ts", + "**/__mocks__/**", + "**/*.js", "vite.*.ts", ...coverageConfigDefaults.exclude, ],