fix: stabilize pro checkout loading

This commit is contained in:
2569718930@qq.com
2026-05-15 00:58:40 +08:00
parent f9154ff0f2
commit c4b1844a67
4 changed files with 63 additions and 21 deletions
@@ -84,7 +84,7 @@ function collectTests(dir) {
});
}
const testsRoot = path.join(projectRoot, "components", "dashboard", "scan-terminal", "__tests__");
const testsRoot = path.join(projectRoot, "components");
const testFiles = fs.existsSync(testsRoot) ? collectTests(testsRoot).sort() : [];
if (!testFiles.length) {