From 3d0fb22cda5dd9b1dc043a88ad5c2914fc8cb5af Mon Sep 17 00:00:00 2001 From: Brandon Webb Date: Tue, 14 Apr 2026 19:21:46 -0400 Subject: [PATCH] fix(call-omo-agent): adapt dev's model override tests to use createMockCtx factory Dev added 4 tests (#2852, model variant, category-derived overrides) that referenced the old mockCtx constant. Our branch replaced it with a createMockCtx() factory. Replace all 4 references. --- src/tools/call-omo-agent/tools.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tools/call-omo-agent/tools.test.ts b/src/tools/call-omo-agent/tools.test.ts index 6bbadfa28..455e2f9aa 100644 --- a/src/tools/call-omo-agent/tools.test.ts +++ b/src/tools/call-omo-agent/tools.test.ts @@ -298,7 +298,7 @@ describe("createCallOmoAgent", () => { getTask: mock(() => undefined), } const toolDef = createCallOmoAgent( - mockCtx, + createMockCtx(DEFAULT_AGENTS), managerWithLaunch, [], { @@ -347,7 +347,7 @@ describe("createCallOmoAgent", () => { getTask: mock(() => undefined), } const toolDef = createCallOmoAgent( - mockCtx, + createMockCtx(DEFAULT_AGENTS), managerWithLaunch, [], { @@ -398,7 +398,7 @@ describe("createCallOmoAgent", () => { getTask: mock(() => undefined), } const toolDef = createCallOmoAgent( - mockCtx, + createMockCtx(DEFAULT_AGENTS), managerWithLaunch, [], { @@ -448,7 +448,7 @@ describe("createCallOmoAgent", () => { getTask: mock(() => undefined), } const toolDef = createCallOmoAgent( - mockCtx, + createMockCtx(DEFAULT_AGENTS), managerWithLaunch, [], {