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

Function shouldMaskData

lib/utils/mask_data.js:45–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 * @returns {boolean} - True if masking is enabled
44 */
45export function shouldMaskData() {
46 const config = getMaskConfig()
47 return config === true || (typeof config === 'object' && config.enabled === true)
48}

Callers 6

debugFunction · 0.90
logFunction · 0.90
errorFunction · 0.90
successFunction · 0.90
stepFunction · 0.90
mask_data_test.jsFile · 0.90

Calls 1

getMaskConfigFunction · 0.85

Tested by

no test coverage detected