From 5a732551f67834fbcfe567c7f8533616d4c6244d Mon Sep 17 00:00:00 2001 From: nflaig Date: Wed, 1 Feb 2023 12:48:54 +0100 Subject: [PATCH] Remove sinon spies after tests are finished --- packages/beacon-node/test/unit/monitoring/service.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/beacon-node/test/unit/monitoring/service.test.ts b/packages/beacon-node/test/unit/monitoring/service.test.ts index 4780f2ef7367..2aec83063b77 100644 --- a/packages/beacon-node/test/unit/monitoring/service.test.ts +++ b/packages/beacon-node/test/unit/monitoring/service.test.ts @@ -22,6 +22,10 @@ describe("monitoring / service", () => { logger = createStubbedLogger(); }); + after(() => { + sandbox.restore(); + }); + describe("MonitoringService - constructor", () => { it("should return an instance of the monitoring service", () => { const service = new MonitoringService("beacon", {endpoint}, {register, logger});