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:
parent
9df3212a98
commit
ad2b0c3323
@ -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, () => ({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user