Module: jasmine-core

Note: Only available on Node.

Members

(static) boot :function

Boots a copy of Jasmine and returns an object as described in jasmine.

Type:
  • function

(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.

Do not call boot() if you also call noGlobals().

Example
const {describe, beforeEach, it, expect, jasmine} = require('jasmine-core').noGlobals();