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

Method get

lib/config.js:139–144  ·  view source on GitHub ↗

* Get current config. * @param {string} [key] * @param {*} [val] * @return {*}

(key, val)

Source from the content-addressed store, hash-verified

137 * @return {*}
138 */
139 static get(key, val) {
140 if (key) {
141 return config[key] || val
142 }
143 return config
144 }
145
146 static addHook(fn) {
147 hooks.push({ fn, ran: false })

Callers 15

docsExternalPluginsFunction · 0.80
contributorFacesFunction · 0.80
docsExternalPluginsFunction · 0.80
contributorFacesFunction · 0.80
setupRoutesMethod · 0.80
createPluginsFunction · 0.80
countByFunction · 0.80
diffSummariesFunction · 0.80
_listenWorkerEventsMethod · 0.80
addStepFunction · 0.80
addStepWithCallerFunction · 0.80
groupBySuiteFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected