From 70c416d5c9a755a7240e8c902866ece652654642 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Fri, 10 Jul 2020 15:41:02 -0700 Subject: [PATCH] Fixed jsdocs for recent additions --- lib/jasmine-core/jasmine.js | 14 +++++++------- src/core/Env.js | 4 ++-- src/core/matchers/toHaveSize.js | 2 +- src/core/requireInterface.js | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index edab42b4..dd1b255b 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -2077,7 +2077,7 @@ getJasmineRequireObj().Env = function(j$) { }; /** - * Sets a user-defined property that will be provided to reporters as part of {@link SpecResult#properties} + * Sets a user-defined property that will be provided to reporters as part of the properties field of {@link SpecResult} * @name Env#setSpecProperty * @since 3.6.0 * @function @@ -2094,7 +2094,7 @@ getJasmineRequireObj().Env = function(j$) { }; /** - * Sets a user-defined property that will be provided to reporters as part of {@link SuiteResult#properties} + * Sets a user-defined property that will be provided to reporters as part of the properties field of {@link SuiteResult} * @name Env#setSuiteProperty * @since 3.6.0 * @function @@ -6030,7 +6030,7 @@ getJasmineRequireObj().toHaveSize = function(j$) { * {@link expect} the actual size to be equal to the expected, using array-like length or object keys size. * @function * @name matchers#toHaveSize - * @since 3.5.1 + * @since 3.6.0 * @param {Object} expected - Expected size * @example * array = [1,2]; @@ -7370,8 +7370,8 @@ getJasmineRequireObj().interface = function(jasmine, env) { }, /** - * Sets a user-defined property that will be provided to reporters as part of {@link SpecResult#properties} - * @name Env#setSpecProperty + * Sets a user-defined property that will be provided to reporters as part of the properties field of {@link SpecResult} + * @name setSpecProperty * @since 3.6.0 * @function * @param {String} key The name of the property @@ -7382,8 +7382,8 @@ getJasmineRequireObj().interface = function(jasmine, env) { }, /** - * Sets a user-defined property that will be provided to reporters as part of {@link SuiteResult#properties} - * @name Env#setSuiteProperty + * Sets a user-defined property that will be provided to reporters as part of the properties field of {@link SuiteResult} + * @name setSuiteProperty * @since 3.6.0 * @function * @param {String} key The name of the property diff --git a/src/core/Env.js b/src/core/Env.js index 60025850..d7fdd4c0 100644 --- a/src/core/Env.js +++ b/src/core/Env.js @@ -1125,7 +1125,7 @@ getJasmineRequireObj().Env = function(j$) { }; /** - * Sets a user-defined property that will be provided to reporters as part of {@link SpecResult#properties} + * Sets a user-defined property that will be provided to reporters as part of the properties field of {@link SpecResult} * @name Env#setSpecProperty * @since 3.6.0 * @function @@ -1142,7 +1142,7 @@ getJasmineRequireObj().Env = function(j$) { }; /** - * Sets a user-defined property that will be provided to reporters as part of {@link SuiteResult#properties} + * Sets a user-defined property that will be provided to reporters as part of the properties field of {@link SuiteResult} * @name Env#setSuiteProperty * @since 3.6.0 * @function diff --git a/src/core/matchers/toHaveSize.js b/src/core/matchers/toHaveSize.js index 680e5144..03c8d431 100644 --- a/src/core/matchers/toHaveSize.js +++ b/src/core/matchers/toHaveSize.js @@ -3,7 +3,7 @@ getJasmineRequireObj().toHaveSize = function(j$) { * {@link expect} the actual size to be equal to the expected, using array-like length or object keys size. * @function * @name matchers#toHaveSize - * @since 3.5.1 + * @since 3.6.0 * @param {Object} expected - Expected size * @example * array = [1,2]; diff --git a/src/core/requireInterface.js b/src/core/requireInterface.js index adc503f8..a468d880 100644 --- a/src/core/requireInterface.js +++ b/src/core/requireInterface.js @@ -169,8 +169,8 @@ getJasmineRequireObj().interface = function(jasmine, env) { }, /** - * Sets a user-defined property that will be provided to reporters as part of {@link SpecResult#properties} - * @name Env#setSpecProperty + * Sets a user-defined property that will be provided to reporters as part of the properties field of {@link SpecResult} + * @name setSpecProperty * @since 3.6.0 * @function * @param {String} key The name of the property @@ -181,8 +181,8 @@ getJasmineRequireObj().interface = function(jasmine, env) { }, /** - * Sets a user-defined property that will be provided to reporters as part of {@link SuiteResult#properties} - * @name Env#setSuiteProperty + * Sets a user-defined property that will be provided to reporters as part of the properties field of {@link SuiteResult} + * @name setSuiteProperty * @since 3.6.0 * @function * @param {String} key The name of the property