From 2a1e33670b0fda11f5d5f42e068c59467b00f6fc Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 12 Apr 2022 14:01:53 -0400 Subject: [PATCH] fix hotbar-remove-command.test.tsx Signed-off-by: Sebastian Malton --- .../components/hotbar/__tests__/hotbar-remove-command.test.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/components/hotbar/__tests__/hotbar-remove-command.test.tsx b/src/renderer/components/hotbar/__tests__/hotbar-remove-command.test.tsx index 639ff6584e..5a7acf395e 100644 --- a/src/renderer/components/hotbar/__tests__/hotbar-remove-command.test.tsx +++ b/src/renderer/components/hotbar/__tests__/hotbar-remove-command.test.tsx @@ -20,6 +20,7 @@ import directoryForUserDataInjectable from "../../../../common/app-paths/directo import getConfigurationFileModelInjectable from "../../../../common/get-configuration-file-model/get-configuration-file-model.injectable"; import appVersionInjectable from "../../../../common/get-configuration-file-model/app-version/app-version.injectable"; import type { HotbarStore } from "../../../../common/hotbars/store"; +import createStoresAndApisInjectable from "../../../create-stores-apis.injectable"; const mockHotbars: Partial> = { "1": { @@ -45,6 +46,7 @@ describe("", () => { mockFs(); + di.override(createStoresAndApisInjectable, () => true); di.override(directoryForUserDataInjectable, () => "some-directory-for-user-data"); di.permitSideEffects(hotbarStoreInjectable);