Skip to content

Commit

Permalink
Add fake auth
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipZmijewski committed Jan 30, 2025
1 parent ca04f75 commit c4681e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/langchain-community/src/chat_models/tests/ibm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe("LLM unit tests", () => {
serviceUrl: process.env.WATSONX_AI_SERVICE_URL as string,
projectId: process.env.WATSONX_AI_PROJECT_ID || "testString",
};
const instance = new ChatWatsonx({ ...testProps });
const instance = new ChatWatsonx({ ...testProps, ...fakeAuthProp });

testProperties(instance, testProps);
});
Expand All @@ -92,7 +92,7 @@ describe("LLM unit tests", () => {
serviceUrl: process.env.WATSONX_AI_SERVICE_URL as string,
spaceId: process.env.WATSONX_AI_SPACE_ID || "testString",
};
const instance = new ChatWatsonx({ ...testProps });
const instance = new ChatWatsonx({ ...testProps, ...fakeAuthProp });

testProperties(instance, testProps);
});
Expand Down

0 comments on commit c4681e5

Please sign in to comment.