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

Function readConfig

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

Source from the content-addressed store, hash-verified

20}
21
22export function readConfig(configFile) {
23 try {
24 const data = fs.readFileSync(configFile, 'utf8')
25 return data
26 } catch (err) {
27 output.error(err)
28 }
29}
30
31function getTestRoot(currentPath) {
32 if (!currentPath) currentPath = '.'

Callers 1

pageObjectFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected