Skip to content

Commit

Permalink
refactor: pass names in valdiateErrorMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
pixincreate committed Jan 7, 2025
1 parent 3bc3a02 commit 76b0ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress-tests/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function logRequestId(xRequestId) {

function validateErrorMessage(response, resData) {
if (resData.body.status !== "failed") {
expect(response.body.error_message).to.be.null;
expect(response.body.error_code).to.be.null;
expect(response.body.error_message, "error_message").to.be.null;
expect(response.body.error_code, "error_code").to.be.null;
}
}

Expand Down

0 comments on commit 76b0ffa

Please sign in to comment.