From 5f3475342eb42fd69d979fd9a81a433f4b396e01 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Sat, 6 Aug 2022 10:53:28 -0700 Subject: [PATCH] Re-added missing JasmineStartedInfo jsdoc --- lib/jasmine-core/jasmine.js | 7 +++++++ src/core/Runner.js | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 22c24bec..8be445a0 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -8486,6 +8486,13 @@ getJasmineRequireObj().Runner = function(j$) { const jasmineTimer = new j$.Timer(); jasmineTimer.start(); + /** + * Information passed to the {@link Reporter#jasmineStarted} event. + * @typedef JasmineStartedInfo + * @property {Int} totalSpecsDefined - The total number of specs defined in this suite. + * @property {Order} order - Information about the ordering (random or not) of this execution of the suite. + * @since 2.0.0 + */ await this.reporter_.jasmineStarted({ totalSpecsDefined, order: order diff --git a/src/core/Runner.js b/src/core/Runner.js index cc1ce3a9..c9e1c70f 100644 --- a/src/core/Runner.js +++ b/src/core/Runner.js @@ -123,6 +123,13 @@ getJasmineRequireObj().Runner = function(j$) { const jasmineTimer = new j$.Timer(); jasmineTimer.start(); + /** + * Information passed to the {@link Reporter#jasmineStarted} event. + * @typedef JasmineStartedInfo + * @property {Int} totalSpecsDefined - The total number of specs defined in this suite. + * @property {Order} order - Information about the ordering (random or not) of this execution of the suite. + * @since 2.0.0 + */ await this.reporter_.jasmineStarted({ totalSpecsDefined, order: order