mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix: removed dependencies: [reactApplicationFeature],
Signed-off-by: Gabriel <gaccettola@mirantis.com>
This commit is contained in:
parent
b33a8b4960
commit
0dae1594ba
@ -28,7 +28,6 @@ import { setLegacyGlobalDiForExtensionApi } from "../extensions/as-legacy-global
|
||||
import { registerMobX } from "@ogre-tools/injectable-extension-for-mobx";
|
||||
import { registerFeature } from "@k8slens/feature-core";
|
||||
import { messagingFeature, testUtils as messagingTestUtils } from "@k8slens/messaging";
|
||||
import { routingFeature } from "@k8slens/routing";
|
||||
|
||||
export function getDiForUnitTesting() {
|
||||
const environment = "main";
|
||||
@ -40,7 +39,7 @@ export function getDiForUnitTesting() {
|
||||
setLegacyGlobalDiForExtensionApi(di, environment);
|
||||
|
||||
runInAction(() => {
|
||||
registerFeature(di, messagingFeature, messagingTestUtils.messagingFeatureForUnitTesting, routingFeature);
|
||||
registerFeature(di, messagingFeature, messagingTestUtils.messagingFeatureForUnitTesting);
|
||||
|
||||
});
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import { getFeature } from "@k8slens/feature-core";
|
||||
import { autoRegister } from "@ogre-tools/injectable-extension-for-auto-registration";
|
||||
import { reactApplicationFeature } from "@k8slens/react-application";
|
||||
|
||||
export const routingFeature = getFeature({
|
||||
id: "routing",
|
||||
@ -15,5 +14,4 @@ export const routingFeature = getFeature({
|
||||
});
|
||||
},
|
||||
|
||||
dependencies: [reactApplicationFeature],
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user