diff --git a/test/unit-tests/services/notificationJobs.test.js b/test/unit-tests/services/notificationJobs.test.js index 6777e805..486f155c 100644 --- a/test/unit-tests/services/notificationJobs.test.js +++ b/test/unit-tests/services/notificationJobs.test.js @@ -11,7 +11,7 @@ describe("NotificationJobs", () => { sandbox = sinon.createSandbox(); appMock = { healthReport: { - fullReport: sinon.stub().resolves({ healthy: false, network: { chainId: 1 } }), + fullReport: sinon.stub().resolves({ healthy: false, network: { chainId: 1 }, reasons: ["test"] }), }, notifier: { sendNotification: sinon.stub(), @@ -22,6 +22,9 @@ describe("NotificationJobs", () => { logger: { info: sinon.stub(), }, + config: { + INSTANCE_NAME: "test", + }, _isShutdown: false, };