Skip to content

Commit

Permalink
fix: Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-paliychuk committed Feb 6, 2024
1 parent 390a382 commit ce1c717
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/tests/document_manager_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe("CollectionManager", () => {

beforeEach(async () => {
fetchMock.resetMocks();
client = await ZepClient.init("z_test-api-key");
client = await ZepClient.init("z_test-api-key", API_URL);
manager = new DocumentManager(client);
});

Expand Down
2 changes: 1 addition & 1 deletion src/tests/memory_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("ZepClient", () => {

beforeEach(async () => {
fetchMock.resetMocks();
client = await ZepClient.init("z_test-api-key");
client = await ZepClient.init("z_test-api-key", BASE_URL);
});

describe("getSession", () => {
Expand Down
4 changes: 0 additions & 4 deletions src/tests/zep-client_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ describe("ZepClient", () => {
const client = await ZepClient.init("z_test-api-key");

expect(client.cloud).toBe(true);

expect(client.getFullUrl("/test")).toEqual(
`${BASE_URL}/api/v2/test`,
);
});
});
});
Expand Down

0 comments on commit ce1c717

Please # to comment.