Added API docs for Suite#id and Spec#id
These properties are the only way to obtain runnable IDs, without which you can't call the form of Env#execute that takes an array of IDs.
This commit is contained in:
@@ -5,6 +5,12 @@ getJasmineRequireObj().Suite = function(j$) {
|
||||
*/
|
||||
function Suite(attrs) {
|
||||
this.env = attrs.env;
|
||||
/**
|
||||
* The unique ID of this suite.
|
||||
* @name Suite#id
|
||||
* @readonly
|
||||
* @type {string}
|
||||
*/
|
||||
this.id = attrs.id;
|
||||
/**
|
||||
* The parent of this suite, or null if this is the top suite.
|
||||
|
||||
Reference in New Issue
Block a user