We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a61e6a commit 4c16f7aCopy full SHA for 4c16f7a
src/api/providers/__tests__/bedrock.test.ts
@@ -66,14 +66,6 @@ describe("AwsBedrockHandler", () => {
66
67
describe("AWS SDK client configuration", () => {
68
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
-
77
const handlerWithProfile = new AwsBedrockHandler({
78
apiModelId: "anthropic.claude-3-5-sonnet-20241022-v2:0",
79
awsRegion: "us-east-1",
0 commit comments