many tests

This commit is contained in:
Spencer Alger
2013-12-03 19:01:04 -07:00
parent 2ddde47972
commit 4e5f08a29c
19 changed files with 1011 additions and 201 deletions

View File

@ -0,0 +1,18 @@
/**
* Just a buffer really, but one that implements the Writeable class
* @type {WritableStream}
*/
module.exports = MockWritableStream;
var Writable = require('stream').Writable;
var util = require('util');
function MockWritableStream(opts) {
Writable.call(this, opts);
this._write = function (chunk, encoding, cb) {
};
}
util.inherits(MockWritableStream, Writable);