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