1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Linter fix

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-10-23 09:17:35 +03:00
parent 60912a96fe
commit adcdc58290
2 changed files with 6 additions and 4 deletions

View File

@ -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("<body/> elements originated from cluster modal registration", () => {
const modal = rendered.queryByTestId("test-modal");
expect(modal).not.toBeInTheDocument();
})
});
});
});

View File

@ -9,4 +9,4 @@ import type { ClusterModalRegistration } from "../../extensions/registries";
export const clusterModalsInjectionToken = getInjectionToken<
IComputedValue<ClusterModalRegistration[]>
>({ id: "cluster-modals-injection-token" });
>({ id: "cluster-modals-injection-token" });