mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
138f488e17
commit
78674e636f
@ -5,7 +5,7 @@
|
||||
import { getInjectable } from "@ogre-tools/injectable";
|
||||
import addHelmRepositoryChannelInjectable from "../../../../common/helm/add-helm-repository-channel.injectable";
|
||||
import addHelmRepositoryInjectable from "./add-helm-repository.injectable";
|
||||
import { requestChannelListenerInjectionToken } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
||||
import { requestChannelHandlerInjectionToken } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
||||
|
||||
const addHelmRepositoryChannelListenerInjectable = getInjectable({
|
||||
id: "add-helm-repository-channel-listener",
|
||||
@ -20,7 +20,7 @@ const addHelmRepositoryChannelListenerInjectable = getInjectable({
|
||||
};
|
||||
},
|
||||
|
||||
injectionToken: requestChannelListenerInjectionToken,
|
||||
injectionToken: requestChannelHandlerInjectionToken,
|
||||
});
|
||||
|
||||
export default addHelmRepositoryChannelListenerInjectable;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
import { getInjectable } from "@ogre-tools/injectable";
|
||||
import { requestChannelListenerInjectionToken } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
||||
import { requestChannelHandlerInjectionToken } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
||||
import getActiveHelmRepositoriesChannelInjectable from "../../../../common/helm/get-active-helm-repositories-channel.injectable";
|
||||
import getActiveHelmRepositoriesInjectable from "./get-active-helm-repositories.injectable";
|
||||
|
||||
@ -20,7 +20,7 @@ const getActiveHelmRepositoriesChannelListenerInjectable = getInjectable({
|
||||
};
|
||||
},
|
||||
|
||||
injectionToken: requestChannelListenerInjectionToken,
|
||||
injectionToken: requestChannelHandlerInjectionToken,
|
||||
});
|
||||
|
||||
export default getActiveHelmRepositoriesChannelListenerInjectable;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
import { getInjectable } from "@ogre-tools/injectable";
|
||||
import { requestChannelListenerInjectionToken } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
||||
import { requestChannelHandlerInjectionToken } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
||||
import removeHelmRepositoryInjectable from "./remove-helm-repository.injectable";
|
||||
import removeHelmRepositoryChannelInjectable from "../../../../common/helm/remove-helm-repository-channel.injectable";
|
||||
|
||||
@ -20,7 +20,7 @@ const removeHelmRepositoryChannelListenerInjectable = getInjectable({
|
||||
};
|
||||
},
|
||||
|
||||
injectionToken: requestChannelListenerInjectionToken,
|
||||
injectionToken: requestChannelHandlerInjectionToken,
|
||||
});
|
||||
|
||||
export default removeHelmRepositoryChannelListenerInjectable;
|
||||
|
||||
@ -57,7 +57,7 @@ describe("message to channel from main", () => {
|
||||
|
||||
{
|
||||
channel: "some-channel",
|
||||
data: ["some-message"],
|
||||
data: "some-message",
|
||||
},
|
||||
],
|
||||
]);
|
||||
@ -72,7 +72,7 @@ describe("message to channel from main", () => {
|
||||
|
||||
{
|
||||
channel: "some-channel",
|
||||
data: [true],
|
||||
data: true,
|
||||
},
|
||||
],
|
||||
]);
|
||||
@ -87,7 +87,7 @@ describe("message to channel from main", () => {
|
||||
|
||||
{
|
||||
channel: "some-channel",
|
||||
data: [42],
|
||||
data: 42,
|
||||
},
|
||||
],
|
||||
]);
|
||||
@ -102,7 +102,7 @@ describe("message to channel from main", () => {
|
||||
|
||||
{
|
||||
channel: "some-channel",
|
||||
data: [{ some: "object" }],
|
||||
data: { some: "object" },
|
||||
},
|
||||
],
|
||||
]);
|
||||
@ -121,7 +121,7 @@ describe("message to channel from main", () => {
|
||||
|
||||
{
|
||||
channel: "some-channel",
|
||||
data: ["some-message"],
|
||||
data: "some-message",
|
||||
},
|
||||
],
|
||||
|
||||
@ -130,7 +130,7 @@ describe("message to channel from main", () => {
|
||||
|
||||
{
|
||||
channel: "some-channel",
|
||||
data: ["some-message"],
|
||||
data: "some-message",
|
||||
},
|
||||
],
|
||||
]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user