Skip to content

Commit

Permalink
docs: update lib-storage Upload example
Browse files Browse the repository at this point in the history
  • Loading branch information
m-radzikowski authored Aug 30, 2022
1 parent afad8d4 commit 4a96d34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ used [under the hood](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-sto

```typescript
import {S3Client, CreateMultipartUploadCommand, UploadPartCommand} from '@aws-sdk/client-s3';
import {Upload} from "@aws-sdk/lib-storage";

const s3Mock = mockClient(S3Client);
s3Mock.on(CreateMultipartUploadCommand).resolves({UploadId: '1'});
Expand Down

0 comments on commit 4a96d34

Please sign in to comment.