Class jasmine.Env
Defined in: Env.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Environment for Jasmine
|
Method Attributes | Method Name and Description |
---|---|
addReporter(reporter)
Register a reporter to receive status updates from Jasmine.
|
|
version()
|
Method Detail
addReporter(reporter)
Register a reporter to receive status updates from Jasmine.
- Parameters:
- {jasmine.Reporter} reporter
- An object which will receive status updates.
nextSpecId()
- Returns:
- a sequential integer starting at 0
nextSuiteId()
- Returns:
- a sequential integer starting at 0
version()
- Returns:
- an object containing jasmine version build info, if set.