Skip to content

Commit 9528984

Browse files
author
helabenkhalfallah
committed
fix(*): typescript issues on muk build
ref: #MANAGER-20363 Signed-off-by: helabenkhalfallah <[email protected]>
1 parent 50d1e1c commit 9528984

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/manager-ui-kit/src/components/link-card/__tests__/LinkCard.spec.utils.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { render } from '@testing-library/react';
2+
import type { RenderResult } from '@testing-library/react';
23

34
import { LinkCard } from '@/components';
45
import { LinkCardProps } from '@/components/link-card/LinkCard.props';
@@ -27,4 +28,5 @@ export const badges = [
2728
},
2829
];
2930

30-
export const renderLinkCard = (props: LinkCardProps) => render(<LinkCard {...props} />);
31+
export const renderLinkCard = (props: LinkCardProps): RenderResult =>
32+
render(<LinkCard {...props} />);

0 commit comments

Comments
 (0)