mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 16:25:50 +00:00
test: clarify native hook relay retention assertion
This commit is contained in:
parent
fddec6d8cd
commit
4aa2fe45de
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ describe("native hook relay registry", () => {
|
|||
|
||||
const invocations = __testing.getNativeHookRelayInvocationsForTests();
|
||||
expect(invocations).toHaveLength(200);
|
||||
expect(invocations.some((invocation) => invocation.toolUseId === "call-0")).toBe(false);
|
||||
expect(invocations.map((invocation) => invocation.toolUseId)).not.toContain("call-0");
|
||||
expect(invocations.at(-1)).toEqual(expect.objectContaining({ toolUseId: "call-209" }));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue