From 102baa0586902dc33eacda75f57eb86d22482e4d Mon Sep 17 00:00:00 2001 From: Starman <30315137+Starman3787@users.noreply.github.com> Date: Sat, 21 Sep 2024 22:40:43 +0100 Subject: [PATCH] Update setup.js --- test/setup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/setup.js b/test/setup.js index 448c586a..dd1cea43 100644 --- a/test/setup.js +++ b/test/setup.js @@ -3,6 +3,7 @@ import { server } from "../src/mocks/node.js"; import chaiAsPromised from "chai-as-promised"; import { use } from "chai"; import sinonChai from "sinon-chai"; +import { restore } from "sinon"; before(() => { server.listen(); @@ -15,6 +16,7 @@ before(() => { afterEach(() => { server.resetHandlers(); + restore(); }); after(() => {