Skip to content

Commit

Permalink
Remove sinon spies after tests are finished
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Feb 1, 2023
1 parent bd78a41 commit 5a73255
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/beacon-node/test/unit/monitoring/service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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});
Expand Down

0 comments on commit 5a73255

Please sign in to comment.