mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 11:10:46 +00:00
test: clarify unit fast forced routing assertion
This commit is contained in:
@@ -103,7 +103,10 @@ describe("unit-fast vitest lane", () => {
|
||||
expect(unitFastTestFiles).toContain(file);
|
||||
expect(isUnitFastTestFile(file)).toBe(true);
|
||||
}
|
||||
expect(forcedAnalysis.every((entry) => entry.forced && entry.unitFast)).toBe(true);
|
||||
const unroutedForcedFiles = forcedAnalysis
|
||||
.filter((entry) => !entry.forced || !entry.unitFast)
|
||||
.map((entry) => ({ file: entry.file, forced: entry.forced, unitFast: entry.unitFast }));
|
||||
expect(unroutedForcedFiles).toEqual([]);
|
||||
});
|
||||
|
||||
it("keeps broad audit candidates separate from automatically routed unit-fast tests", () => {
|
||||
|
||||
Reference in New Issue
Block a user