fix: vitest single bug (#4031)

This commit is contained in:
jack zhang 2024-04-12 22:22:16 +08:00 committed by GitHub
parent 91fdd84ea1
commit 1fad32db80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,