Tweak export names to make them easier to import

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2023-03-02 15:13:00 +02:00
1 parent 046d72b99f
commit e6dd647e51
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) => {
@@ -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();