diff --git a/tests/unit/lib/queuePopulator/KafkaLogReader.spec.js b/tests/unit/lib/queuePopulator/KafkaLogReader.spec.js index 871b6e4a3..9ecf52eaa 100644 --- a/tests/unit/lib/queuePopulator/KafkaLogReader.spec.js +++ b/tests/unit/lib/queuePopulator/KafkaLogReader.spec.js @@ -64,7 +64,8 @@ describe('KafkaLogReader', () => { }); it('should handle log consumer setup error', done => { - const setupStub = sinon.stub(kafkaLogReader.logConsumer, 'setup').callsFake(callback => callback(new Error('setup error'))); + const setupStub = sinon.stub(kafkaLogReader.logConsumer, 'setup') + .callsFake(callback => callback(new Error('setup error'))); kafkaLogReader.setup(err => { assert.strictEqual(err.message, 'setup error'); assert(setupStub.calledOnce); @@ -89,4 +90,4 @@ describe('KafkaLogReader', () => { }); }); }); -}); \ No newline at end of file +});