test: tighten function-shape assertions

This commit is contained in:
Peter Steinberger
2026-05-08 06:17:10 +01:00
parent 6a07855d5a
commit 8af475d9be
6 changed files with 44 additions and 19 deletions

View File

@@ -166,7 +166,6 @@ describe("feishu_doc image fetch hardening", () => {
if (!tool) {
throw new Error("expected Feishu doc tool");
}
expect(tool.execute).toEqual(expect.any(Function));
return tool;
}