From f0a5ea9d0f75b1f95132c8e85b64b8f916409349 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Mon, 17 Feb 2025 12:07:32 -0800 Subject: [PATCH] Updated docs for expected and actual properties of expectation results --- lib/jasmine-core/jasmine.js | 3 ++- src/core/buildExpectationResult.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index cb782d4a..8644dc35 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -2693,7 +2693,8 @@ getJasmineRequireObj().buildExpectationResult = function(j$) { * in a future release. In many Jasmine configurations they are passed * through JSON serialization and deserialization, which is inherently * lossy. In such cases, the expected and actual values may be placeholders - * or approximations of the original objects. + * or approximations of the original objects. jasmine-browser-runner 3.0 and + * later omits them entirely. * * @typedef ExpectationResult * @property {String} matcherName - The name of the matcher that was executed for this expectation. diff --git a/src/core/buildExpectationResult.js b/src/core/buildExpectationResult.js index 0f761232..b62d1d8d 100644 --- a/src/core/buildExpectationResult.js +++ b/src/core/buildExpectationResult.js @@ -10,7 +10,8 @@ getJasmineRequireObj().buildExpectationResult = function(j$) { * in a future release. In many Jasmine configurations they are passed * through JSON serialization and deserialization, which is inherently * lossy. In such cases, the expected and actual values may be placeholders - * or approximations of the original objects. + * or approximations of the original objects. jasmine-browser-runner 3.0 and + * later omits them entirely. * * @typedef ExpectationResult * @property {String} matcherName - The name of the matcher that was executed for this expectation.