Skip to content

Commit

Permalink
fix: add timeouts in tests yay
Browse files Browse the repository at this point in the history
  • Loading branch information
Dam-Buty committed Jul 18, 2024
1 parent 645e891 commit 3a154eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/openai.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ describe('OpenAI Instrumentation', () => {

expect(step?.threadId).toBe(threadId);
expect(step?.parentId).toBe(parentId);
});
}, 30_000);

it("doesn't mix up threads and steps", async () => {
const testId = uuidv4();
Expand Down Expand Up @@ -401,6 +401,6 @@ describe('OpenAI Instrumentation', () => {
expect(firstGeneration?.parentId).toEqual(firstStep?.id);
expect(secondGeneration?.threadId).toEqual(secondThreadId);
expect(secondGeneration?.parentId).toEqual(secondStep?.id);
}, 30000);
}, 30_000);
});
});

0 comments on commit 3a154eb

Please sign in to comment.