1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix tests for older getDiForUnitTesting implementation

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

View File

@ -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, () => ({

View File

@ -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, () => ({