mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Tweak export names to make them easier to import
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
8 files changed
+13
-13
No files matched your search
@@ -1,4 +1,4 @@
|
||||
export { feature } from "./src/feature";
|
||||
export { applicationFeature } from "./src/feature";
|
||||
|
||||
export { onLoadOfApplicationInjectionToken } from "./src/start-application/timeslots/on-load-of-application-injection-token";
|
||||
export { beforeApplicationIsLoadingInjectionToken } from "./src/start-application/timeslots/before-application-is-loading-injection-token";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { getFeature } from "@k8slens/feature-core";
|
||||
import { autoRegister } from "@ogre-tools/injectable-extension-for-auto-registration";
|
||||
|
||||
export const feature = getFeature({
|
||||
export const applicationFeature = getFeature({
|
||||
id: "application",
|
||||
|
||||
register: (di) => {
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@ import {
|
||||
getInjectable,
|
||||
} from "@ogre-tools/injectable";
|
||||
import { registerFeature } from "@k8slens/feature-core";
|
||||
import { feature } from "../feature";
|
||||
import { applicationFeature } from "../feature";
|
||||
import { startApplicationInjectionToken } from "./start-application.injectable";
|
||||
import { beforeApplicationIsLoadingInjectionToken } from "./timeslots/before-application-is-loading-injection-token";
|
||||
import asyncFn, { AsyncFnMock } from "@async-fn/jest";
|
||||
@@ -21,7 +21,7 @@ describe("starting-of-application", () => {
|
||||
beforeEach(() => {
|
||||
di = createContainer("irrelevant");
|
||||
|
||||
registerFeature(di, feature);
|
||||
registerFeature(di, applicationFeature);
|
||||
|
||||
beforeApplicationIsLoadingMock = asyncFn();
|
||||
onLoadOfApplicationMock = asyncFn();
|
||||
|
||||
Reference in new issue
Block a user