From a67b7276bece033a230b670c03c83c239ad62716 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Sat, 22 Jul 2023 09:36:16 -0700 Subject: [PATCH] Fixed jsdocs for throwUnless and throwUnlessAsync --- lib/jasmine-core/jasmine.js | 4 ++++ src/core/requireInterface.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 81fc2d29..9dfae028 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -8294,6 +8294,8 @@ getJasmineRequireObj().interface = function(jasmine, env) { * exception propagates back to Jasmine, either via the call stack or via * the global unhandled exception/unhandled promise rejection events. * @name throwUnlessAsync + * @since 5.1.0 + * @function * @param actual * @global * @param {Object} actual - Actual computed value to test expectations against. @@ -8316,6 +8318,8 @@ getJasmineRequireObj().interface = function(jasmine, env) { * exception propagates back to Jasmine, either via the call stack or via * the global unhandled exception/unhandled promise rejection events. * @name throwUnless + * @since 5.1.0 + * @function * @param actual * @global * @param {Object} actual - Actual computed value to test expectations against. diff --git a/src/core/requireInterface.js b/src/core/requireInterface.js index 71baa4d2..43265a13 100644 --- a/src/core/requireInterface.js +++ b/src/core/requireInterface.js @@ -238,6 +238,8 @@ getJasmineRequireObj().interface = function(jasmine, env) { * exception propagates back to Jasmine, either via the call stack or via * the global unhandled exception/unhandled promise rejection events. * @name throwUnlessAsync + * @since 5.1.0 + * @function * @param actual * @global * @param {Object} actual - Actual computed value to test expectations against. @@ -260,6 +262,8 @@ getJasmineRequireObj().interface = function(jasmine, env) { * exception propagates back to Jasmine, either via the call stack or via * the global unhandled exception/unhandled promise rejection events. * @name throwUnless + * @since 5.1.0 + * @function * @param actual * @global * @param {Object} actual - Actual computed value to test expectations against.