

























@@ -440,17 +440,28 @@ describe("test-projects args", () => {
440440]);
441441});
442442443-it("routes acp targets to the acp config", () => {
443+it("routes unit-fast acp targets to the cache-friendly unit-fast config", () => {
444444expect(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",
447447forwardedArgs: [],
448448includePatterns: ["src/acp/control-plane/runtime-cache.test.ts"],
449449watchMode: false,
450450},
451451]);
452452});
453453454+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+454465it("caps project-level parallelism when the Vitest worker budget is conservative", () => {
455466expect(
456467resolveParallelFullSuiteConcurrency(58, {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。