Home > @jsplumbtoolkit/test-support > jsPlumbToolkitTestHarness > withConsole
jsPlumbToolkitTestHarness.withConsole() method
Run a function and capture the console output.
Signature:
withConsole(fn: Function): void;
Parameters
Parameter | Type | Description |
---|---|---|
fn | Function |
Returns:
void