Document the order property of jasmineStarted and jasmineDone

This commit is contained in:
Steve Gravrock
2025-09-14 13:18:10 -07:00
parent cca6b2aa07
commit 4ccc7bf3ac
2 changed files with 12 additions and 0 deletions

View File

@@ -9530,6 +9530,12 @@ getJasmineRequireObj().Runner = function(j$) {
// In parallel mode, the jasmineStarted event is separately dispatched
// by jasmine-npm. This event only reaches reporters in non-parallel.
totalSpecsDefined,
/**
* Information about the ordering (random or not) of this execution of the suite.
* @typedef Order
* @property {boolean} random - Whether the suite is running in random order
* @property {string} seed - The random seed
*/
order: order,
parallel: false
});

View File

@@ -103,6 +103,12 @@ getJasmineRequireObj().Runner = function(j$) {
// In parallel mode, the jasmineStarted event is separately dispatched
// by jasmine-npm. This event only reaches reporters in non-parallel.
totalSpecsDefined,
/**
* Information about the ordering (random or not) of this execution of the suite.
* @typedef Order
* @property {boolean} random - Whether the suite is running in random order
* @property {string} seed - The random seed
*/
order: order,
parallel: false
});