MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / constructor

Method constructor

lib/workers.js:213–218  ·  view source on GitHub ↗

* @param {Number} workerIndex - Unique ID for worker

(workerIndex)

Source from the content-addressed store, hash-verified

211 * @param {Number} workerIndex - Unique ID for worker
212 */
213 constructor(workerIndex) {
214 this.workerIndex = workerIndex
215 this.options = {}
216 this.tests = []
217 this.testRoot = getTestRoot()
218 }
219
220 addConfig(config) {
221 const oldConfig = JSON.parse(this.options.override || '{}')

Callers

nothing calls this directly

Calls 1

getTestRootFunction · 0.90

Tested by

no test coverage detected