mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: extract @k8slens/random
Signed-off-by: Gabriel <gaccettola@mirantis.com>
This commit is contained in:
1 parent
847f2b1b7b
commit
86fa93ac8b
30 files changed
+137
-20
No files matched your search
@@ -29,6 +29,7 @@ import { registerMobX } from "@ogre-tools/injectable-extension-for-mobx";
|
||||
import { registerFeature } from "@k8slens/feature-core";
|
||||
import { messagingFeature, testUtils as messagingTestUtils } from "@k8slens/messaging";
|
||||
import { loggerFeature } from "@k8slens/logger";
|
||||
import { randomFeature } from "@k8slens/random";
|
||||
|
||||
export function getDiForUnitTesting() {
|
||||
const environment = "main";
|
||||
@@ -44,6 +45,7 @@ export function getDiForUnitTesting() {
|
||||
messagingFeature,
|
||||
messagingTestUtils.messagingFeatureForUnitTesting,
|
||||
loggerFeature,
|
||||
randomFeature,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import type { TrayMenuRegistration } from "../tray-menu-registration";
|
||||
import { withErrorSuppression } from "../../../common/utils/with-error-suppression/with-error-suppression";
|
||||
import type { WithErrorLoggingFor } from "../../../common/utils/with-error-logging/with-error-logging.injectable";
|
||||
import withErrorLoggingInjectable from "../../../common/utils/with-error-logging/with-error-logging.injectable";
|
||||
import getRandomIdInjectable from "../../../common/utils/get-random-id.injectable";
|
||||
import { getRandomIdInjectable } from "@k8slens/random";
|
||||
import { isBoolean, isString } from "@k8slens/utilities";
|
||||
|
||||
const trayMenuItemRegistratorInjectable = getInjectable({
|
||||
|
||||
Reference in new issue
Block a user