mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
6c63fb26f6
commit
034debd6ff
@ -8,7 +8,7 @@ jest.mock(
|
|||||||
"electron",
|
"electron",
|
||||||
() => ({
|
() => ({
|
||||||
ipcRenderer: {
|
ipcRenderer: {
|
||||||
invoke: jest.fn(async (channel: string, ...args: any[]) => {
|
invoke: jest.fn(async (channel: string) => {
|
||||||
if (channel === "extensions:loaded") {
|
if (channel === "extensions:loaded") {
|
||||||
return [
|
return [
|
||||||
[
|
[
|
||||||
|
|||||||
@ -8,10 +8,8 @@ import { Cluster } from "../../../main/cluster";
|
|||||||
import { cssNames, IClassName } from "../../utils";
|
import { cssNames, IClassName } from "../../utils";
|
||||||
import { Badge } from "../badge";
|
import { Badge } from "../badge";
|
||||||
import { Tooltip } from "../tooltip";
|
import { Tooltip } from "../tooltip";
|
||||||
import { eventStore } from "../+events/event.store";
|
import { subscribeToBroadcast } from "../../../common/ipc";
|
||||||
import { forCluster } from "../../api/kube-api";
|
import { observable } from "mobx";
|
||||||
import { subscribeToBroadcast, unsubscribeAllFromBroadcast } from "../../../common/ipc";
|
|
||||||
import { observable, when } from "mobx";
|
|
||||||
|
|
||||||
interface Props extends DOMAttributes<HTMLElement> {
|
interface Props extends DOMAttributes<HTMLElement> {
|
||||||
cluster: Cluster;
|
cluster: Cluster;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user