Wrap a function. Capture all its logs, stop them from displaying, and store them for later access along with the return value. Makes console log output testing a breeze.
javascript
testing
console
unit-testing
typescript
terminal
mocha
tdd
test
logging
console-log
test-driven-development
console-log-testing
-
Updated
Apr 4, 2017 - TypeScript