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

Interface: ParallelRunnerOptions

ParallelRunnerOptions

Options for the ParallelRunner 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 in workers via jasmine-core's noGlobals method, e.g.:

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

Type:
  • boolean | undefined
Default Value:
  • true

numWorkers :number|undefined

The number of worker processes to use.

Type:
  • number | undefined
Default Value:
  • 2

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