From 7e6b562981bc70a5bd810f9d6a38cf86e896565f Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Thu, 11 Jul 2019 13:25:09 +0200 Subject: [PATCH] Fix test setup (#15) --- libraries/logger/test/unit/loggingManagerTests.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/logger/test/unit/loggingManagerTests.js b/libraries/logger/test/unit/loggingManagerTests.js index d3714635df..cb4d2ca473 100644 --- a/libraries/logger/test/unit/loggingManagerTests.js +++ b/libraries/logger/test/unit/loggingManagerTests.js @@ -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)