Skip to content

yamadapc/ignore-writable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ignore-writable

A 'passthrough' writable stream, which simply ignores its input. (for mocking)

Example

var sinon = require('sinon'),
    Canoe = require('canoe'),
    IgnoreWritable = require('ignore-writable');

var canoe = new Canoe(/* s3 instance, somehow */)

var canoeStub = sinon.stub(canoe, 'createWriteStream', function() {
  return new IgnoreWritable();
});

License

Copyright (c) 2014 Pedro Tacla Yamada. Licensed under the MIT license. Please refer to the LICENSE file for more info.

Donations

Would you like to buy me a beer? Send bitcoin to 3JjxJydvoJjTrhLL86LGMc8cNB16pTAF3y

About

A 'passthrough' writable stream, which simply ignores its input. (for mocking)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published