Skip to content

Remove type assertions for ObjectExpression #2179

Remove type assertions for ObjectExpression

Remove type assertions for ObjectExpression #2179

Triggered via pull request July 28, 2024 06:14
Status Failure
Total duration 1m 8s
Artifacts

pull_request.yml

on: pull_request
Matrix: call-build / build
Fit to window
Zoom out
Zoom in

Annotations

9 errors
src/transforms/v2-to-v3/transformer.spec.ts > v2-to-v3 > waiters > transforms: config-delay-max-attempts.js: src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'import { S3, waitUntilBucketExists } …' to deeply equal 'import { S3, waitUntilBucketExists } …' - Expected + Received import { S3, waitUntilBucketExists } from "@aws-sdk/client-s3"; const Bucket = "BUCKET_NAME"; const client = new S3(); await client.createBucket({ Bucket }); await waitUntilBucketExists({ client, - minDelay: 2, - maxWaitTime: 20 + maxWaitTime: 200 }, { Bucket }); ❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
src/transforms/v2-to-v3/transformer.spec.ts > v2-to-v3 > waiters > transforms: config-delay.js: src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'import { S3, waitUntilBucketExists } …' to deeply equal 'import { S3, waitUntilBucketExists } …' - Expected + Received import { S3, waitUntilBucketExists } from "@aws-sdk/client-s3"; const Bucket = "BUCKET_NAME"; const client = new S3(); await client.createBucket({ Bucket }); await waitUntilBucketExists({ client, - minDelay: 2, - maxWaitTime: 40 + maxWaitTime: 200 }, { Bucket }); ❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
src/transforms/v2-to-v3/transformer.spec.ts > v2-to-v3 > waiters > transforms: config-max-attempts.js: src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'import { S3, waitUntilBucketExists } …' to deeply equal 'import { S3, waitUntilBucketExists } …' - Expected + Received import { S3, waitUntilBucketExists } from "@aws-sdk/client-s3"; const Bucket = "BUCKET_NAME"; const client = new S3(); await client.createBucket({ Bucket }); await waitUntilBucketExists({ client, - maxWaitTime: 100 + maxWaitTime: 200 }, { Bucket }); ❯ 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 > waiters > transforms: config-delay-max-attempts.js: src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'import { S3, waitUntilBucketExists } …' to deeply equal 'import { S3, waitUntilBucketExists } …' - Expected + Received import { S3, waitUntilBucketExists } from "@aws-sdk/client-s3"; const Bucket = "BUCKET_NAME"; const client = new S3(); await client.createBucket({ Bucket }); await waitUntilBucketExists({ client, - minDelay: 2, - maxWaitTime: 20 + maxWaitTime: 200 }, { Bucket }); ❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
src/transforms/v2-to-v3/transformer.spec.ts > v2-to-v3 > waiters > transforms: config-delay.js: src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'import { S3, waitUntilBucketExists } …' to deeply equal 'import { S3, waitUntilBucketExists } …' - Expected + Received import { S3, waitUntilBucketExists } from "@aws-sdk/client-s3"; const Bucket = "BUCKET_NAME"; const client = new S3(); await client.createBucket({ Bucket }); await waitUntilBucketExists({ client, - minDelay: 2, - maxWaitTime: 40 + maxWaitTime: 200 }, { Bucket }); ❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
src/transforms/v2-to-v3/transformer.spec.ts > v2-to-v3 > waiters > transforms: config-max-attempts.js: src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'import { S3, waitUntilBucketExists } …' to deeply equal 'import { S3, waitUntilBucketExists } …' - Expected + Received import { S3, waitUntilBucketExists } from "@aws-sdk/client-s3"; const Bucket = "BUCKET_NAME"; const client = new S3(); await client.createBucket({ Bucket }); await waitUntilBucketExists({ client, - maxWaitTime: 100 + maxWaitTime: 200 }, { Bucket }); ❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
call-build / build (18.x)
Process completed with exit code 1.