Skip to content

Commit

Permalink
docs: clarify use of invoke for failure method
Browse files Browse the repository at this point in the history
  • Loading branch information
rrhodes committed Aug 14, 2023
1 parent cbd86a6 commit e38c5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test-lambda.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const invokeForSuccess = async(handler, event) => {
}
};

// utility to invoke handler (failure case)
// utility to invoke handler and assert an exception is caught (success case)
const invokeForFailure = async(handler, event) => {

let result;
Expand Down

0 comments on commit e38c5a3

Please sign in to comment.