Removed useless passed property from ThrowUnlessFailure

This commit is contained in:
Steve Gravrock
2025-09-20 16:17:02 -07:00
parent 1e98a4b61b
commit d333ecb5b1
3 changed files with 0 additions and 6 deletions

View File

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