Skip to content

Commit

Permalink
Allow the matcher provide a custom error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Deckard committed Mar 24, 2017
1 parent 7f8f2b5 commit c42b197
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Expectation.js
Expand Up @@ -65,6 +65,7 @@ getJasmineRequireObj().Expectation = function() {
matcherName: name,
passed: result.pass,
message: message,
error: result.error,
actual: this.actual,
expected: expected // TODO: this may need to be arrayified/sliced
}
Expand Down

0 comments on commit c42b197

Please sign in to comment.