Documentation Home
This page is for an older version of Jasmine (5.0).
The current stable version of Jasmine is: 5.4. You can also look at the docs for the next release: Edge

Module: jasmine-core

Note: Only available on Node.

Methods

(static) boot() → {jasmine}

Boots a copy of Jasmine and returns an object as described in jasmine. If boot is called multiple times, the same object is returned every time.

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();