From 1fad32db805f4f0410fba67b1ee59cea4cb5b88e Mon Sep 17 00:00:00 2001 From: jack zhang <1098626505@qq.com> Date: Fri, 12 Apr 2024 22:22:16 +0800 Subject: [PATCH] fix: vitest single bug (#4031) --- packages/core/test/vitest.mjs | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/core/test/vitest.mjs b/packages/core/test/vitest.mjs index 5db72435b4..74b64a9625 100644 --- a/packages/core/test/vitest.mjs +++ b/packages/core/test/vitest.mjs @@ -217,7 +217,6 @@ export const defineConfig = () => { config.test.include = filterInclude; if (isFile) { // 减少收集的文件 - config.test.root = path.dirname(filterInclude[0]); config.test.exclude = []; config.test.coverage = { enabled: false,