Allow the matcher provide a custom error message
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user