Skip to main content

@xpack/mock-console

Classes

ClassDescription
MockConsoleThe MockConsole class extends a Node.js Console by capturing messages and storing them in internal arrays, rather than sending them to an output device.

Functions

FunctionDescription
dumpLinesFor debugging purposes, dump the content of the array, one line at a time, via console.log().