* * Print a text in console log * @param {string} message * @param {string} [color]
(message, color = 'cyan')
| 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. |
no test coverage detected