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

@@ -15,6 +15,7 @@ const app = webService();
const server = new TestServer(app.callback());
jest.mock("aws-sdk", () => {
const mS3 = {
createPresignedPost: jest.fn(),
deleteObject: jest.fn().mockReturnThis(),
promise: jest.fn(),
};