mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-09 12:34:54 +10:00
test(api): add normalizeAgentResumePatchOperations to ./resume mock
service.ts calls it (added in 82d961241, merged from origin/main) but the
mock omitted it, breaking the patch-apply test. Identity mock matches the
test's pass-through expectation.
Claude-Session: https://claude.ai/code/session_012Bnvt1MghwHj4qQRxuQUGa
This commit is contained in:
@@ -113,6 +113,7 @@ vi.mock("../storage/service", () => ({
|
||||
vi.mock("./resume", () => ({
|
||||
buildAgentDraftResumeName: vi.fn(),
|
||||
buildUniqueAgentDraftSlug: vi.fn(),
|
||||
normalizeAgentResumePatchOperations: vi.fn((_data, operations) => operations),
|
||||
}));
|
||||
vi.mock("./runs", () => ({
|
||||
claimActiveAgentRun: claimActiveAgentRunMock,
|
||||
|
||||
Reference in New Issue
Block a user