diff --git a/src/hooks/atlas/index.test.ts b/src/hooks/atlas/index.test.ts index 52025857..065f20b9 100644 --- a/src/hooks/atlas/index.test.ts +++ b/src/hooks/atlas/index.test.ts @@ -180,8 +180,8 @@ describe("atlas hook", () => { // then - standalone verification reminder appended expect(output.output).toContain("Task completed successfully") - expect(output.output).toContain("MANDATORY:") - expect(output.output).toContain("task(session_id=") + expect(output.output).toContain("LYING") + expect(output.output).toContain("PHASE 1") cleanupMessageStorage(sessionID) }) @@ -219,8 +219,8 @@ describe("atlas hook", () => { expect(output.output).toContain("Task completed successfully") expect(output.output).toContain("SUBAGENT WORK COMPLETED") expect(output.output).toContain("test-plan") - expect(output.output).toContain("LIE") - expect(output.output).toContain("task(session_id=") + expect(output.output).toContain("LYING") + expect(output.output).toContain("PHASE 1") cleanupMessageStorage(sessionID) }) @@ -401,10 +401,10 @@ describe("atlas hook", () => { output ) - // then - should include session_id instructions and verification - expect(output.output).toContain("task(session_id=") - expect(output.output).toContain("[x]") - expect(output.output).toContain("MANDATORY:") + // then - should include verification instructions + expect(output.output).toContain("LYING") + expect(output.output).toContain("PHASE 1") + expect(output.output).toContain("PHASE 2") cleanupMessageStorage(sessionID) }) diff --git a/src/hooks/auto-update-checker/hook/background-update-check.test.ts b/src/hooks/auto-update-checker/hook/background-update-check.test.ts index 8d3009b5..84502227 100644 --- a/src/hooks/auto-update-checker/hook/background-update-check.test.ts +++ b/src/hooks/auto-update-checker/hook/background-update-check.test.ts @@ -16,6 +16,7 @@ mock.module("../checker", () => ({ getCachedVersion: mockGetCachedVersion, getLatestVersion: mockGetLatestVersion, updatePinnedVersion: mockUpdatePinnedVersion, + revertPinnedVersion: mock(() => false), })) mock.module("../version-channel", () => ({