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

Function getConfig

lib/command/utils.js:12–20  ·  view source on GitHub ↗
(configFile)

Source from the content-addressed store, hash-verified

10export { deepMerge }
11
12export async function getConfig(configFile) {
13 try {
14 const configModule = await import('../config.js')
15 const config = configModule.default || configModule
16 return await config.load(configFile)
17 } catch (err) {
18 fail(err.stack)
19 }
20}
21
22export function readConfig(configFile) {
23 try {

Callers 15

definitions.jsFile · 0.90
interactive.jsFile · 0.90
list.jsFile · 0.90
run.jsFile · 0.90
info.jsFile · 0.90
dryRun.jsFile · 0.90
run-multiple.jsFile · 0.90
run-rerun.jsFile · 0.90
testFunction · 0.90
pageObjectFunction · 0.90
check.jsFile · 0.90
init.jsFile · 0.90

Calls 2

failFunction · 0.85
loadMethod · 0.45

Tested by 1

testFunction · 0.72