1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 18:52:50 +00:00

Added files

This commit is contained in:
2015-06-25 16:28:41 -05:00
parent 656dca9289
commit eb27b55a54
5621 changed files with 1630154 additions and 0 deletions

19
node_modules/forever/test/helpers/mocks/stream.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
var util = require('util'),
EventEmitter2 = require('eventemitter2').EventEmitter2;
var StreamMock = exports.StreamMock = function () {
EventEmitter2.call(this);
this.contents = [];
this.closed = false;
};
util.inherits(StreamMock, EventEmitter2);
StreamMock.prototype.write = function (data) {
this.contents.push(data);
};
StreamMock.prototype.close = StreamMock.prototype.end = function () {
this.closed = true;
};