Package Exports
- fixture-stdout
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fixture-stdout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
fixture-stdout
A test fixture to intercept writes to stdout.
Install:
npm install fixture-stdout
Example Usage:
var stdoutFixture = require('fixture-stdout');
stdoutFixture.capture();
// Uses intercepted version of stdout
console.log('a');
console.log('b');
stdoutFixture.release();
// Now we're back to the original version of stdout
console.log('c');
console.log('d');
Credit
Based on @pguillory's example.
License
MIT