index.js
function restore(options) {
  options = _.defaults(options || {}, {
    stdout: true,
    stderr: true
  });

  if (options.stdout)
    process.stdout.write = originalWrites.stdout;

  if (options.stderr)
    process.stderr.write = originalWrites.stderr;
}
function restore(options) {
  options = _.defaults(options || {}, {
    stdout: true,
    stderr: true
  });

  if (options.stdout)
    process.stdout.write = originalWrites.stdout;

  if (options.stderr)
    process.stderr.write = originalWrites.stderr;
}
function restore ( options ) { options = _ . defaults ( options || { } , { stdout : true , stderr : true } ) ; if ( options . stdout ) process . stdout . write = originalWrites . stdout ; if ( options . stderr ) process . stderr . write = originalWrites . stderr ; }
Restore std output.

@param {object} [options] Options
@param {boolean} [options.stdout=true] Mock stdout
@param {boolean} [options.stderr=true] Mock stderr
Restore std output .