Skip to content

Commit c9a8c27

Browse files
committed
Fix test timeout in Cline.test.ts
1 parent 7de1eaa commit c9a8c27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/__tests__/Cline.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ describe("Cline", () => {
321321

322322
describe("getEnvironmentDetails", () => {
323323
describe("API conversation handling", () => {
324+
// Set timeout to 15 seconds for this specific test
324325
it("should clean conversation history before sending to API", async () => {
325326
// Cline.create will now use our mocked getEnvironmentDetails
326327
const [cline, task] = Cline.create({
@@ -387,7 +388,7 @@ describe("Cline", () => {
387388

388389
// Verify extra properties were removed
389390
expect(Object.keys(cleanedMessage!)).toEqual(["role", "content"])
390-
})
391+
}, 15000)
391392

392393
it("should handle image blocks based on model capabilities", async () => {
393394
// Create two configurations - one with image support, one without

0 commit comments

Comments
 (0)