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.
This commit is contained in:
Brandon Webb
2026-04-14 19:21:46 -04:00
committed by YeonGyu-Kim
parent 39bda91bc7
commit 3d0fb22cda
+4 -4
View File
@@ -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,
[],
{