Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CahidArda committed Oct 30, 2024
1 parent dc3394a commit cb0b1eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rag-chat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,8 @@ describe("RAG Chat with non-embedding db", () => {

beforeAll(async () => {
await vector.reset({ namespace });
// eslint-disable-next-line @typescript-eslint/no-magic-numbers
await new Promise((r) => setTimeout(r, 1000));
});

test("should upsert embedding and query it", async () => {
Expand Down

0 comments on commit cb0b1eb

Please sign in to comment.