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:
committed by
YeonGyu-Kim
parent
39bda91bc7
commit
3d0fb22cda
@@ -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,
|
||||
[],
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user