Skip to content

Commit 4c16f7a

Browse files
committed
Remove extra mock from test
1 parent 7a61e6a commit 4c16f7a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/api/providers/__tests__/bedrock.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ describe("AwsBedrockHandler", () => {
6666

6767
describe("AWS SDK client configuration", () => {
6868
it("should configure client with profile credentials when profile mode is enabled", async () => {
69-
// Import the fromIni function to mock it
70-
jest.mock("@aws-sdk/credential-providers", () => ({
71-
fromIni: jest.fn().mockReturnValue({
72-
accessKeyId: "profile-access-key",
73-
secretAccessKey: "profile-secret-key",
74-
}),
75-
}))
76-
7769
const handlerWithProfile = new AwsBedrockHandler({
7870
apiModelId: "anthropic.claude-3-5-sonnet-20241022-v2:0",
7971
awsRegion: "us-east-1",

0 commit comments

Comments
 (0)