From 3d36b11c8fc470350af08e916966c99a7270446a Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Tue, 30 Dec 2025 12:18:22 -0800 Subject: [PATCH] rm bogus @optional jsdoc tags --- lib/jasmine-core/jasmine.js | 2 -- src/core/reporterEvents.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index a014b8ac..2f6c538a 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -8961,7 +8961,6 @@ getJasmineRequireObj().reporterEvents = function(j$) { * {@link ReporterCapabilities} will apply. * @name Reporter#reporterCapabilities * @type ReporterCapabilities | undefined - * @optional * @since 5.0 */ /** @@ -9028,7 +9027,6 @@ getJasmineRequireObj().reporterEvents = function(j$) { /** * `specStarted` is invoked when an `it` starts to run (including associated `beforeEach` functions) * @function - * @optional * @name Reporter#specStarted * @param {SpecStartedEvent} result Information about the individual {@link it} being run * @param {Function} [done] Used to specify to Jasmine that this callback is asynchronous and Jasmine should wait until it has been called before moving on. diff --git a/src/core/reporterEvents.js b/src/core/reporterEvents.js index 55243039..633b1c4f 100644 --- a/src/core/reporterEvents.js +++ b/src/core/reporterEvents.js @@ -7,7 +7,6 @@ getJasmineRequireObj().reporterEvents = function(j$) { * {@link ReporterCapabilities} will apply. * @name Reporter#reporterCapabilities * @type ReporterCapabilities | undefined - * @optional * @since 5.0 */ /** @@ -74,7 +73,6 @@ getJasmineRequireObj().reporterEvents = function(j$) { /** * `specStarted` is invoked when an `it` starts to run (including associated `beforeEach` functions) * @function - * @optional * @name Reporter#specStarted * @param {SpecStartedEvent} result Information about the individual {@link it} being run * @param {Function} [done] Used to specify to Jasmine that this callback is asynchronous and Jasmine should wait until it has been called before moving on.