Documentation Home
This page describes a pre-release version of Jasmine (5.0.0-alpha.1). There may be additional changes, including breaking changes, before the final 5.0.0 release.
The current stable version of Jasmine is 5.4.

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