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:
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, () => ({
|
||||
|
||||
Reference in new issue
Block a user