ignore-writable
v1.0.0
Published
A 'passthrough' writable stream, which simply ignores its input. (for mocking)
Downloads
3
Maintainers
Readme
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.