From adcdc582907fd20d6f97472f0007a4d4f9eaaf1a Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Sun, 23 Oct 2022 09:17:35 +0300 Subject: [PATCH] Linter fix Signed-off-by: Alex Andreev --- src/features/cluster/cluster-modal-items.test.tsx | 8 +++++--- .../cluster-modals/cluster-modals-injection-token.ts | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/features/cluster/cluster-modal-items.test.tsx b/src/features/cluster/cluster-modal-items.test.tsx index 16cd80315b..b08ac84c38 100644 --- a/src/features/cluster/cluster-modal-items.test.tsx +++ b/src/features/cluster/cluster-modal-items.test.tsx @@ -2,9 +2,11 @@ * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ -import { getInjectable, Injectable } from "@ogre-tools/injectable"; +import type { Injectable } from "@ogre-tools/injectable"; +import { getInjectable } from "@ogre-tools/injectable"; import type { RenderResult } from "@testing-library/react"; -import { computed, IComputedValue, IObservableValue, observable, runInAction } from "mobx"; +import type { IComputedValue, IObservableValue } from "mobx"; +import { computed, observable, runInAction } from "mobx"; import React from "react"; import type { ClusterModalRegistration } from "../../extensions/registries"; import { clusterModalsInjectionToken } from "../../renderer/cluster-modals/cluster-modals-injection-token"; @@ -106,6 +108,6 @@ describe(" elements originated from cluster modal registration", () => { const modal = rendered.queryByTestId("test-modal"); expect(modal).not.toBeInTheDocument(); - }) + }); }); }); diff --git a/src/renderer/cluster-modals/cluster-modals-injection-token.ts b/src/renderer/cluster-modals/cluster-modals-injection-token.ts index 035e841744..a9b472693a 100644 --- a/src/renderer/cluster-modals/cluster-modals-injection-token.ts +++ b/src/renderer/cluster-modals/cluster-modals-injection-token.ts @@ -9,4 +9,4 @@ import type { ClusterModalRegistration } from "../../extensions/registries"; export const clusterModalsInjectionToken = getInjectionToken< IComputedValue ->({ id: "cluster-modals-injection-token" }); \ No newline at end of file +>({ id: "cluster-modals-injection-token" });