Removed useless passed property from ThrowUnlessFailure
This commit is contained in:
@@ -160,10 +160,8 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
*
|
||||
* @property {String} matcherName - The name of the matcher that was executed for this expectation.
|
||||
* @property {String} message - The failure message for the expectation.
|
||||
* @property {Boolean} passed - Whether the expectation passed or failed.
|
||||
*/
|
||||
const error = new Error(result.message);
|
||||
error.passed = result.passed;
|
||||
error.message = result.message;
|
||||
error.matcherName = result.matcherName;
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user