Fix linting

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-11-04 07:27:35 +02:00
1 parent f77d5c0087
commit 6fa72fef94
2 files changed
+6 -5

No files matched your search

@@ -2,7 +2,8 @@
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { act, RenderResult } from "@testing-library/react";
import type { RenderResult } from "@testing-library/react";
import { act } from "@testing-library/react";
import type { IObservableValue } from "mobx";
import { computed, observable, runInAction } from "mobx";
import React from "react";
@@ -20,7 +21,7 @@ describe("<body/> elements originated from cluster frame component registration"
describe("given custom components for cluster view available", () => {
let someObservable: IObservableValue<boolean>;
beforeEach(async () => {
someObservable = observable.box(false);
@@ -39,8 +40,8 @@ describe("<body/> elements originated from cluster frame component registration"
id: "dialog-with-observable-visibility-id",
Component: () => <div data-testid="dialog-with-observable-visibility">dialog contents</div>,
shouldRender: computed(() => someObservable.get()),
}
]
},
],
},
};
@@ -58,7 +58,7 @@ export const ClusterFrame = withInjectables<Dependencies>(NonInjectedClusterFram
subscribeStores: di.inject(subscribeStoresInjectable),
childComponents: computedInjectMany(clusterFrameChildComponentInjectionToken),
watchHistoryState: di.inject(watchHistoryStateInjectable),
}
};
},
});