Allow the matcher provide a custom error message

This commit is contained in:
Jared Deckard
2017-03-24 13:54:08 -05:00
parent 7f8f2b5e7a
commit c42b1972e2

View File

@@ -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
}