test: isolate ACP cleanup in full regression suite

This commit is contained in:
tianma-if committed 2026-10-16 01:50:03 +08:00
1 parent 79ae74069b
commit 6113e18fff
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -462,8 +462,9 @@ describe("Cloudflare deployment entrypoints", () => {
expect(scripts["test:bulk"]).toContain("apps/api/src/companion-learning.test.mjs");
expect(scripts["test:bulk"]).toContain("apps/api/src/resource-upload-integration.test.mjs");
expect(scripts["test:bulk"]).toContain("apps/desktop/src/main/workbuddy-auth.test.mjs");
expect(scripts["test:bulk"]).toContain("apps/desktop/src/main/acp-cleanup.test.mjs");
expect(scripts["test:integration"]).toBe(
"bun test apps/api/src/companion-learning.test.mjs apps/api/src/resource-upload-integration.test.mjs && bun test --cwd apps/desktop src/main/workbuddy-auth.test.mjs",
"bun test apps/api/src/companion-learning.test.mjs apps/api/src/resource-upload-integration.test.mjs && bun test --cwd apps/desktop src/main/workbuddy-auth.test.mjs src/main/acp-cleanup.test.mjs",
);
expect(workflow).toContain("bun run test");
expect(workflow.match(/if: steps\.upstream\.outputs\.align_mode == 'merge'/g)).toHaveLength(2);