perf(test): consolidate agent runner suites

This commit is contained in:
Peter Steinberger
2026-02-14 20:24:20 +00:00
parent 42ab5dd2d1
commit 64f7182180

View File

@@ -168,7 +168,7 @@ describe("runReplyAgent typing (heartbeat)", () => {
it("suppresses typing in never mode", async () => {
runEmbeddedPiAgentMock.mockImplementationOnce(async (params: AgentRunParams) => {
params.onPartialReply?.({ text: "hi" });
await params.onPartialReply?.({ text: "hi" });
return { payloads: [{ text: "final" }], meta: {} };
});