From d815e99456c18751ecf80acf5f8c0e8ed67f5bec Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Sat, 24 Apr 2021 14:57:33 -0700 Subject: [PATCH] Added jsdocs for Spy.callData.returnValue --- lib/jasmine-core/jasmine.js | 1 + src/core/Spy.js | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index b1241da8..380829bd 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -8295,6 +8295,7 @@ getJasmineRequireObj().Spy = function(j$) { * @property {object} object - `this` context for the invocation. * @property {number} invocationOrder - Order of the invocation. * @property {Array} args - The arguments passed for this invocation. + * @property returnValue - The value that was returned from this invocation. */ var callData = { object: context, diff --git a/src/core/Spy.js b/src/core/Spy.js index 09b59767..03ed46a3 100644 --- a/src/core/Spy.js +++ b/src/core/Spy.js @@ -44,6 +44,7 @@ getJasmineRequireObj().Spy = function(j$) { * @property {object} object - `this` context for the invocation. * @property {number} invocationOrder - Order of the invocation. * @property {Array} args - The arguments passed for this invocation. + * @property returnValue - The value that was returned from this invocation. */ var callData = { object: context,