feat: Support IAM role authentication for S3 (#2830)

closes #2829
This commit is contained in:
Zero King
2021-12-11 01:08:03 +00:00
committed by GitHub
parent 05b9ae3e63
commit 11e14bc4f5
12 changed files with 44 additions and 19 deletions

View File

@@ -6,6 +6,7 @@ import documentPermanentDeleter from "./documentPermanentDeleter";
jest.mock("aws-sdk", () => {
const mS3 = {
createPresignedPost: jest.fn(),
deleteObject: jest.fn().mockReturnThis(),
promise: jest.fn(),
};