@arpinum/backend
Version:
Base modules for backend applications
15 lines (11 loc) • 345 B
JavaScript
;
var sinon = require('sinon');
function FakeResponse() {
var self = this;
self.send = sinon.stub().returnsThis();
self.end = sinon.stub().returnsThis();
self.status = sinon.stub().returnsThis();
self.cookie = sinon.stub().returnsThis();
self.clearCookie = sinon.stub().returnsThis();
}
module.exports = FakeResponse;