Fix test setup (#15)

This commit is contained in:
Miguel Serrano 2019-07-11 13:25:09 +02:00 committed by GitHub
parent 6b3e7e4ffc
commit 7e6b562981

View file

@ -32,7 +32,11 @@ describe('LoggingManager', function() {
requires: {
bunyan: (this.Bunyan = {
createLogger: sinon.stub().returns(this.mockBunyanLogger),
RingBuffer: bunyan.RingBuffer
RingBuffer: bunyan.RingBuffer,
stdSerializers: {
req: sinon.stub(),
res: sinon.stub()
}
}),
raven: (this.Raven = {
Client: sinon.stub().returns(this.mockRavenClient)