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

Function say

lib/output.js:266–271  ·  view source on GitHub ↗

* * Print a text in console log * @param {string} message * @param {string} [color]

(message, color = 'cyan')

Source from the content-addressed store, hash-verified

264 * @param {string} [color]
265 */
266 say(message, color = 'cyan') {
267 if (colors[color] === undefined) {
268 color = 'cyan'
269 }
270 if (outputLevel >= 1) print(` ${colors[color].bold(message)}`)
271 },
272
273 /**
274 * Prints the stats of a test run to the console.

Callers 9

defTypingsFunction · 0.85
docsPluginsFunction · 0.85
docsExternalHelpersFunction · 0.85
docsExternalPluginsFunction · 0.85
buildLibWithDocsFunction · 0.85
docsHelpersFunction · 0.85
releaseFunction · 0.85
contributorFacesFunction · 0.85
runnerCreateTestsFunction · 0.85

Calls 1

printFunction · 0.70

Tested by

no test coverage detected