mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 16:25:50 +00:00
test: clarify unit fast forced routing assertion
This commit is contained in:
parent
6bb3678fd9
commit
05f117aae2
1 changed files with 4 additions and 1 deletions
|
|
@ -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", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue