test(google-meet): type realtime consult assertion

This commit is contained in:
Vincent Koc
2026-05-03 17:38:49 -07:00
parent 08762aa290
commit 0468ebe200

View File

@@ -3793,7 +3793,8 @@ describe("google-meet plugin", () => {
}),
);
});
expect(JSON.stringify(runtime.agent.runEmbeddedPiAgent.mock.calls[0]?.[0])).toContain(
const consultArgs = runtime.agent.runEmbeddedPiAgent.mock.calls[0]?.[0] as unknown;
expect(JSON.stringify(consultArgs)).toContain(
"Are we still on track?\\nPlease include launch blockers.",
);
expect(sendUserMessage).toHaveBeenCalledWith(