Skip to content

Commit e78004c

Browse files
committed
test(s3-request-presigner): mock credentials in test
1 parent 9750d47 commit e78004c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/s3-request-presigner/src/getSignedUrl.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ describe("getSignedUrl", () => {
4747
const mockSignatureV4MultiRegion = new SignatureV4MultiRegion({} as any);
4848
const clientParams = {
4949
region: "us-foo-1",
50+
credentials: {
51+
accessKeyId: "UNIT_TEST",
52+
secretAccessKey: "UNIT_TEST",
53+
},
5054
};
5155

5256
beforeEach(() => {

0 commit comments

Comments
 (0)