test(tools): polish image auth regression and fix agents vitest routing

This commit is contained in:
Mason Huang
2026-05-24 09:44:04 +08:00
committed by clawsweeper
parent ee5599b1f9
commit da4c846e09
3 changed files with 215 additions and 0 deletions

View File

@@ -936,6 +936,24 @@ describe("scripts/test-projects changed-target routing", () => {
expect(repoSourceReads.length).toBeLessThan(100);
});
it.each([
"test/vitest/vitest.agents-core.config.ts",
"test/vitest/vitest.agents-pi-embedded.config.ts",
"test/vitest/vitest.agents-support.config.ts",
"test/vitest/vitest.agents-tools.config.ts",
])("routes split agents vitest config %s to itself", (target) => {
const plans = buildVitestRunPlans([target], process.cwd());
expect(plans).toEqual([
{
config: target,
forwardedArgs: [],
includePatterns: null,
watchMode: false,
},
]);
});
it.each([
"src/gateway/gateway.test.ts",
"src/gateway/server.startup-matrix-migration.integration.test.ts",