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

Test small cleanup

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-03-22 14:04:32 +03:00
parent 26355504f3
commit 1db728c6da

View File

@ -56,7 +56,7 @@ const newMenuItem = getInjectable({
injectionToken: clusterIconSettingsMenuInjectionToken,
});
function customSettingsComponent(props: ClusterIconSettingComponentProps) {
function CustomSettingsComponent(props: ClusterIconSettingComponentProps) {
return (
<div data-testid="my-react-component">
<span>Test React Component</span>
@ -73,7 +73,7 @@ const newSettingsReactComponent = getInjectable({
instantiate: () => ({
id: "test-react-component",
Component: customSettingsComponent,
Component: CustomSettingsComponent,
}),
injectionToken: clusterIconSettingsComponentInjectionToken,