Interface: JasmineOptions

JasmineOptions

Options for the Jasmine constructor

Members

globals :boolean|undefined

Whether to create the globals (describe, it, etc) that make up Jasmine's spec-writing interface. If it is set to false, the spec-writing interface can be accessed via jasmine-core's noGlobals method, e.g.:

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

Type:
  • boolean | undefined
Default Value:
  • true

projectBaseDir :string|undefined

The path to the project's base directory. This can be absolute or relative to the current working directory. If it isn't specified, the current working directory will be used.

Type:
  • string | undefined