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 e472034 commit b907660
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit b907660

Please sign in to comment.