Skip to content

Commit a3ac887

Browse files
committed
fix: change type on test data
1 parent cccaed6 commit a3ac887

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

packages/core/src/test/shared/sam/deploy.test.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,14 +1287,10 @@ describe('SAM Deploy', () => {
12871287
})
12881288
})
12891289

1290-
const s3BucketListSummary: Array<
1291-
RequiredProps<S3Bucket, 'Name'> & {
1292-
readonly region: string
1293-
}
1294-
> = [
1295-
{ Name: 'stack-1-bucket', region: 'us-west-2' },
1296-
{ Name: 'stack-2-bucket', region: 'us-west-2' },
1297-
{ Name: 'stack-3-bucket', region: 'us-west-2' },
1290+
const s3BucketListSummary: Array<S3Bucket> = [
1291+
{ Name: 'stack-1-bucket', BucketRegion: 'us-west-2', Arn: 'arn-1' },
1292+
{ Name: 'stack-2-bucket', BucketRegion: 'us-west-2', Arn: 'arn-2' },
1293+
{ Name: 'stack-3-bucket', BucketRegion: 'us-west-2', Arn: 'arn-3' },
12981294
]
12991295

13001296
const stackSummaries: CloudFormationClientModule.StackSummary[][] = [

0 commit comments

Comments
 (0)