blueottersoftware

blueottersoftware/capture-stdout

Small efficient ES6 class that captures all stdout calls and stores the calls as an array of strings. Very useful for confirming expected output behavior during tests.

JavaScript
7
3
MIT License

Capture Stdout is a small, efficient ES6 class that captures and stores all stdout calls as an array of strings, preventing them from appearing in the console output. It's designed for developers running tests in Node 8.x environments who need to verify expected output behavior without polluting test results. The library is particularly useful for confirming error messages and logging output during testing scenarios.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

rpcarver's profile
rpcarver
6 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet