diff --git a/src/agents/pi-embedded-runner/run/assistant-failover.test.ts b/src/agents/pi-embedded-runner/run/assistant-failover.test.ts index 56ff2801d39..f6edc1ca57a 100644 --- a/src/agents/pi-embedded-runner/run/assistant-failover.test.ts +++ b/src/agents/pi-embedded-runner/run/assistant-failover.test.ts @@ -116,7 +116,7 @@ describe("handleAssistantFailover", () => { ); expect(outcome.action).toBe("retry"); - expect(warn).not.toHaveBeenCalledWith(expect.stringContaining("Profile undefined")); + expect(warn).not.toHaveBeenCalled(); }); });