From 906f23214e442625c64815af8f35dd606a3cfe36 Mon Sep 17 00:00:00 2001 From: Iku-turso Date: Wed, 23 Mar 2022 09:23:56 +0200 Subject: [PATCH] Prevent old unit test with side effects from accessing file system Signed-off-by: Iku-turso --- src/common/__tests__/hotbar-store.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/__tests__/hotbar-store.test.ts b/src/common/__tests__/hotbar-store.test.ts index e93b3a927c..a12ab0ee58 100644 --- a/src/common/__tests__/hotbar-store.test.ts +++ b/src/common/__tests__/hotbar-store.test.ts @@ -150,6 +150,8 @@ describe("HotbarStore", () => { describe("given no migrations", () => { beforeEach(async () => { + mockFs(); + await di.runSetups(); });