Skip to content

Commit

Permalink
fix: unit tests failing on different version of Nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
cplee committed Oct 11, 2022
1 parent a91e115 commit 76e04c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('isComplete', () => {
return lambdaTester(handler)
.event({} as IsCompleteRequest)
.expectError((err: Error) => {
expect(err.message).toBe("Cannot read properties of undefined (reading 'deploymentInfo')");
expect(err.message).toBeDefined();
});
});
test('Unknown event type fails', () => {
Expand Down
4 changes: 0 additions & 4 deletions packages/aws-cdk-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@
"@aws-cdk/aws-lookoutequipment": "0.0.0",
"@aws-cdk/aws-lookoutmetrics": "0.0.0",
"@aws-cdk/aws-lookoutvision": "0.0.0",
"@aws-cdk/aws-m2": "0.0.0",
"@aws-cdk/aws-macie": "0.0.0",
"@aws-cdk/aws-managedblockchain": "0.0.0",
"@aws-cdk/aws-mediaconnect": "0.0.0",
Expand Down Expand Up @@ -338,7 +337,6 @@
"@aws-cdk/aws-sso": "0.0.0",
"@aws-cdk/aws-stepfunctions": "0.0.0",
"@aws-cdk/aws-stepfunctions-tasks": "0.0.0",
"@aws-cdk/aws-supportapp": "0.0.0",
"@aws-cdk/aws-synthetics": "0.0.0",
"@aws-cdk/aws-timestream": "0.0.0",
"@aws-cdk/aws-transfer": "0.0.0",
Expand Down Expand Up @@ -542,7 +540,6 @@
"./aws-lookoutequipment": "./aws-lookoutequipment/index.js",
"./aws-lookoutmetrics": "./aws-lookoutmetrics/index.js",
"./aws-lookoutvision": "./aws-lookoutvision/index.js",
"./aws-m2": "./aws-m2/index.js",
"./aws-macie": "./aws-macie/index.js",
"./aws-managedblockchain": "./aws-managedblockchain/index.js",
"./aws-mediaconnect": "./aws-mediaconnect/index.js",
Expand Down Expand Up @@ -610,7 +607,6 @@
"./aws-sso": "./aws-sso/index.js",
"./aws-stepfunctions": "./aws-stepfunctions/index.js",
"./aws-stepfunctions-tasks": "./aws-stepfunctions-tasks/index.js",
"./aws-supportapp": "./aws-supportapp/index.js",
"./aws-synthetics": "./aws-synthetics/index.js",
"./aws-timestream": "./aws-timestream/index.js",
"./aws-transfer": "./aws-transfer/index.js",
Expand Down

0 comments on commit 76e04c1

Please sign in to comment.