Add API docs for async reporters
This commit is contained in:
@@ -971,6 +971,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#jasmineStarted
|
* @name Reporter#jasmineStarted
|
||||||
* @param {JasmineStartedInfo} suiteInfo Information about the full Jasmine suite that is being run
|
* @param {JasmineStartedInfo} suiteInfo Information about the full Jasmine suite that is 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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'jasmineStarted',
|
'jasmineStarted',
|
||||||
/**
|
/**
|
||||||
@@ -978,6 +980,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#jasmineDone
|
* @name Reporter#jasmineDone
|
||||||
* @param {JasmineDoneInfo} suiteInfo Information about the full Jasmine suite that just finished running.
|
* @param {JasmineDoneInfo} suiteInfo Information about the full Jasmine suite that just finished running.
|
||||||
|
* @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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'jasmineDone',
|
'jasmineDone',
|
||||||
/**
|
/**
|
||||||
@@ -985,6 +989,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#suiteStarted
|
* @name Reporter#suiteStarted
|
||||||
* @param {SuiteResult} result Information about the individual {@link describe} being run
|
* @param {SuiteResult} result Information about the individual {@link describe} 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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'suiteStarted',
|
'suiteStarted',
|
||||||
/**
|
/**
|
||||||
@@ -994,6 +1000,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#suiteDone
|
* @name Reporter#suiteDone
|
||||||
* @param {SuiteResult} result
|
* @param {SuiteResult} result
|
||||||
|
* @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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'suiteDone',
|
'suiteDone',
|
||||||
/**
|
/**
|
||||||
@@ -1001,6 +1009,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#specStarted
|
* @name Reporter#specStarted
|
||||||
* @param {SpecResult} result Information about the individual {@link it} being run
|
* @param {SpecResult} 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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'specStarted',
|
'specStarted',
|
||||||
/**
|
/**
|
||||||
@@ -1010,6 +1020,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#specDone
|
* @name Reporter#specDone
|
||||||
* @param {SpecResult} result
|
* @param {SpecResult} result
|
||||||
|
* @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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'specDone'
|
'specDone'
|
||||||
], queueRunnerFactory);
|
], queueRunnerFactory);
|
||||||
|
|||||||
@@ -252,6 +252,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#jasmineStarted
|
* @name Reporter#jasmineStarted
|
||||||
* @param {JasmineStartedInfo} suiteInfo Information about the full Jasmine suite that is being run
|
* @param {JasmineStartedInfo} suiteInfo Information about the full Jasmine suite that is 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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'jasmineStarted',
|
'jasmineStarted',
|
||||||
/**
|
/**
|
||||||
@@ -259,6 +261,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#jasmineDone
|
* @name Reporter#jasmineDone
|
||||||
* @param {JasmineDoneInfo} suiteInfo Information about the full Jasmine suite that just finished running.
|
* @param {JasmineDoneInfo} suiteInfo Information about the full Jasmine suite that just finished running.
|
||||||
|
* @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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'jasmineDone',
|
'jasmineDone',
|
||||||
/**
|
/**
|
||||||
@@ -266,6 +270,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#suiteStarted
|
* @name Reporter#suiteStarted
|
||||||
* @param {SuiteResult} result Information about the individual {@link describe} being run
|
* @param {SuiteResult} result Information about the individual {@link describe} 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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'suiteStarted',
|
'suiteStarted',
|
||||||
/**
|
/**
|
||||||
@@ -275,6 +281,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#suiteDone
|
* @name Reporter#suiteDone
|
||||||
* @param {SuiteResult} result
|
* @param {SuiteResult} result
|
||||||
|
* @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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'suiteDone',
|
'suiteDone',
|
||||||
/**
|
/**
|
||||||
@@ -282,6 +290,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#specStarted
|
* @name Reporter#specStarted
|
||||||
* @param {SpecResult} result Information about the individual {@link it} being run
|
* @param {SpecResult} 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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'specStarted',
|
'specStarted',
|
||||||
/**
|
/**
|
||||||
@@ -291,6 +301,8 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
* @function
|
* @function
|
||||||
* @name Reporter#specDone
|
* @name Reporter#specDone
|
||||||
* @param {SpecResult} result
|
* @param {SpecResult} result
|
||||||
|
* @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.
|
||||||
|
* @returns {} Optionally return a Promise instead of using `done` to cause Jasmine to wait for completion.
|
||||||
*/
|
*/
|
||||||
'specDone'
|
'specDone'
|
||||||
], queueRunnerFactory);
|
], queueRunnerFactory);
|
||||||
|
|||||||
Reference in New Issue
Block a user