Skip to content

Commit c3c8d66

Browse files
committed
test: align acp fast-lane routing assertions
1 parent 4e6c096 commit c3c8d66

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

src/scripts/test-projects.test.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,17 +440,28 @@ describe("test-projects args", () => {
440440
]);
441441
});
442442

443-
it("routes acp targets to the acp config", () => {
443+
it("routes unit-fast acp targets to the cache-friendly unit-fast config", () => {
444444
expect(buildVitestRunPlans(["src/acp/control-plane/runtime-cache.test.ts"])).toEqual([
445445
{
446-
config: "test/vitest/vitest.acp.config.ts",
446+
config: "test/vitest/vitest.unit-fast.config.ts",
447447
forwardedArgs: [],
448448
includePatterns: ["src/acp/control-plane/runtime-cache.test.ts"],
449449
watchMode: false,
450450
},
451451
]);
452452
});
453453

454+
it("routes reset-heavy acp targets to the acp config", () => {
455+
expect(buildVitestRunPlans(["src/acp/runtime/session-meta.test.ts"])).toEqual([
456+
{
457+
config: "test/vitest/vitest.acp.config.ts",
458+
forwardedArgs: [],
459+
includePatterns: ["src/acp/runtime/session-meta.test.ts"],
460+
watchMode: false,
461+
},
462+
]);
463+
});
464+
454465
it("caps project-level parallelism when the Vitest worker budget is conservative", () => {
455466
expect(
456467
resolveParallelFullSuiteConcurrency(58, {

0 commit comments

Comments
 (0)