Interface: ParallelRunnerOptions


Options for the ParallelRunner constructor


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

  • boolean | undefined
Default Value:
  • true

numWorkers :number|undefined

The number of worker processes to use.

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

  • string | undefined