From edc6f77c647a9f8a03635ecbbf97c5d4fcae4d66 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Sat, 18 Mar 2023 07:50:35 +0100 Subject: [PATCH] add setup --- test/server.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/server.ts b/test/server.ts index ad172b77..de7e921f 100644 --- a/test/server.ts +++ b/test/server.ts @@ -39,6 +39,8 @@ describe("Server", function () { }); after(function (done) { + // Tear down test fixtures in the order they were setup, + // in case setup crashed for any reason logInfoStub.restore(); logWarnStub.restore(); checkForUpdatesStub.restore();