mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:00:42 +00:00
test(vitest): cut unit-ui startup overhead
This commit is contained in:
@@ -2,7 +2,7 @@ import {
|
||||
collectBroadUnitFastTestCandidates,
|
||||
collectUnitFastTestFileAnalysis,
|
||||
collectUnitFastTestCandidates,
|
||||
unitFastTestFiles,
|
||||
getUnitFastTestFiles,
|
||||
} from "../test/vitest/vitest.unit-fast-paths.mjs";
|
||||
|
||||
const args = new Set(process.argv.slice(2));
|
||||
@@ -16,6 +16,7 @@ const candidateCount =
|
||||
scope === "broad"
|
||||
? collectBroadUnitFastTestCandidates(process.cwd()).length
|
||||
: collectUnitFastTestCandidates(process.cwd()).length;
|
||||
const unitFastTestFiles = getUnitFastTestFiles();
|
||||
const unitFastCount = analysis.filter((entry) => entry.unitFast).length;
|
||||
|
||||
for (const entry of rejected) {
|
||||
|
||||
Reference in New Issue
Block a user