Fix tests for older getDiForUnitTesting implementation

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka committed 2023-03-09 12:44:48 +02:00
1 parent 9df3212a98
commit ad2b0c3323
2 files changed
+2 -2

No files matched your search

@@ -20,7 +20,7 @@ describe("update-entity-metadata", () => {
let detectedMetadata: Record<ClusterMetadataKey, any>;
beforeEach(() => {
const di = getDiForUnitTesting();
const di = getDiForUnitTesting({ doGeneralOverrides: true });
di.override(directoryForUserDataInjectable, () => "/some-user-store-path");
di.override(appPathsStateInjectable, () => ({
@@ -18,7 +18,7 @@ describe("update-entity-spec", () => {
let updateEntitySpec: UpdateEntitySpec;
beforeEach(() => {
const di = getDiForUnitTesting();
const di = getDiForUnitTesting({ doGeneralOverrides: true });
di.override(directoryForUserDataInjectable, () => "/some-user-store-path");
di.override(appPathsStateInjectable, () => ({