MCPcopy
hub / github.com/codeceptjs/CodeceptJS / getConfig

Function getConfig

lib/mocha/bdd.js:9–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7const STACK_POSITION = 2
8
9async function getConfig() {
10 if (!Config) {
11 const ConfigModule = await import('../config.js')
12 Config = ConfigModule.default || ConfigModule
13 }
14 return Config
15}
16
17/**
18 * @param {*} step

Callers 3

addStepFunction · 0.70
addStepWithCallerFunction · 0.70
initCodeceptFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected