kidnap-console

Capture and store a function's log outputs and return value, and stops its output from reaching the CLI. Makes console log testing a breeze.
v0.0.2 URL: https://unpkg.com/kidnap-console@0.0.2/lib/index.js
OpenBrowse Files
testingunit testingtestunit testtddtest-driven developmenttraptrapstrappingstubmockstubbingstubsmocksmockingconsoleterminalloglogsloggingconsolesterminalsclicommand line interfacecommand linelog capturelog testing