Note: Only available on Node.
Methods
(static) boot(reinitializeopt) → {jasmine}
Boots a copy of Jasmine and returns an object as described in jasmine
.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
reinitialize |
boolean |
<optional> |
true | Whether to create a new copy of Jasmine if one already exists |
Returns:
- Type
- jasmine
(static) noGlobals()
Boots a copy of Jasmine and returns an object containing the properties that would normally be added to the global object. If noGlobals is called multiple times, the same object is returned every time.
Example
const {describe, beforeEach, it, expect, jasmine} = require('jasmine-core').noGlobals();