Add transformation for s3 createPresignedPost #2056
Annotations
5 errors
src/transforms/v2-to-v3/transformer.spec.ts > v2-to-v3 > s3-presigned-post > transforms: createPresignedPost.js:
src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'import { S3 } from "@aws-sdk/client-s…' to deeply equal 'import { createPresignedPost } from "…'
- Expected
+ Received
- import { createPresignedPost } from "@aws-sdk/s3-presigned-post";
import { S3 } from "@aws-sdk/client-s3";
const client = new S3();
- const response = await createPresignedPost(client, params);
+ const response = client.createPresignedPost(params);
❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
|
call-build / build (20.x)
Process completed with exit code 1.
|
call-build / build (18.x)
The job was canceled because "_20_x" failed.
|
src/transforms/v2-to-v3/transformer.spec.ts > v2-to-v3 > s3-presigned-post > transforms: createPresignedPost.js:
src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'import { S3 } from "@aws-sdk/client-s…' to deeply equal 'import { createPresignedPost } from "…'
- Expected
+ Received
- import { createPresignedPost } from "@aws-sdk/s3-presigned-post";
import { S3 } from "@aws-sdk/client-s3";
const client = new S3();
- const response = await createPresignedPost(client, params);
+ const response = client.createPresignedPost(params);
❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
|
call-build / build (18.x)
The operation was canceled.
|