Skip to content

Commit f354802

Browse files
cr
1 parent 26cbf83 commit f354802

File tree

1 file changed

+4
-2
lines changed
  • libs/providers/langchain-anthropic/src/tools/tests

1 file changed

+4
-2
lines changed

libs/providers/langchain-anthropic/src/tools/tests/bash.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ describe("Anthropic Bash Tool Unit Tests", () => {
1616
});
1717

1818
it("creates a valid bash tool with execute function", async () => {
19-
const mockExecute = async (args: { command?: string; restart?: boolean }) => {
19+
const mockExecute = async (args: {
20+
command?: string;
21+
restart?: boolean;
22+
}) => {
2023
if (args.restart) {
2124
return "Session restarted";
2225
}
@@ -90,4 +93,3 @@ describe("Anthropic Bash Tool Unit Tests", () => {
9093
});
9194
});
9295
});
93-

0 commit comments

Comments
 (0)