Skip to content

Commit 3d52258

Browse files
authored
anthropic[patch]: Remove sleep after each test (#6003)
1 parent e08d598 commit 3d52258

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

libs/langchain-anthropic/src/tests/chat_models.int.test.ts

-10
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@ import {
1313
import { CallbackManager } from "@langchain/core/callbacks/manager";
1414
import { ChatAnthropic } from "../chat_models.js";
1515

16-
async function sleep(ms = 1000): Promise<void> {
17-
return new Promise<void>((resolve) => {
18-
setTimeout(resolve, ms);
19-
});
20-
}
21-
22-
afterEach(async () => {
23-
await sleep();
24-
});
25-
2616
test("Test ChatAnthropic", async () => {
2717
const chat = new ChatAnthropic({
2818
modelName: "claude-3-sonnet-20240229",

0 commit comments

Comments
 (0)