mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 11:21:11 +00:00
perf(test): consolidate agent runner suites
This commit is contained in:
@@ -168,7 +168,7 @@ describe("runReplyAgent typing (heartbeat)", () => {
|
|||||||
|
|
||||||
it("suppresses typing in never mode", async () => {
|
it("suppresses typing in never mode", async () => {
|
||||||
runEmbeddedPiAgentMock.mockImplementationOnce(async (params: AgentRunParams) => {
|
runEmbeddedPiAgentMock.mockImplementationOnce(async (params: AgentRunParams) => {
|
||||||
params.onPartialReply?.({ text: "hi" });
|
await params.onPartialReply?.({ text: "hi" });
|
||||||
return { payloads: [{ text: "final" }], meta: {} };
|
return { payloads: [{ text: "final" }], meta: {} };
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user