From c42b1972e2d9ed7b24c43136a8819cd38b6e8f9a Mon Sep 17 00:00:00 2001 From: Jared Deckard Date: Fri, 24 Mar 2017 13:54:08 -0500 Subject: [PATCH] Allow the matcher provide a custom error message --- src/core/Expectation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/Expectation.js b/src/core/Expectation.js index 28a73016..8ebba620 100644 --- a/src/core/Expectation.js +++ b/src/core/Expectation.js @@ -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 }