From d626f3be9d19c46a5ccdc0e1a5f83728e7e5899c Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Tue, 12 Nov 2024 11:16:40 +0100 Subject: [PATCH] fixup --- tests/unit/lib/queuePopulator/KafkaLogReader.spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 +});