From 4358e947921d32fa6f49d9a1fc8b60e70b008fa8 Mon Sep 17 00:00:00 2001 From: zeshanziya Date: Wed, 21 Feb 2024 18:04:13 +0530 Subject: [PATCH] remove test cases for title check Signed-off-by: zeshanziya --- .../VisitedByType/VisitedByType.test.tsx | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/plugins/home/src/homePageComponents/VisitedByType/VisitedByType.test.tsx b/plugins/home/src/homePageComponents/VisitedByType/VisitedByType.test.tsx index 9e363f55aa..4e3cf1e058 100644 --- a/plugins/home/src/homePageComponents/VisitedByType/VisitedByType.test.tsx +++ b/plugins/home/src/homePageComponents/VisitedByType/VisitedByType.test.tsx @@ -21,14 +21,6 @@ import { renderInTestApp } from '@backstage/test-utils'; import { waitFor } from '@testing-library/react'; describe(' kind="top"', () => { - it('should render', async () => { - const { getByText } = await renderInTestApp( - - - , - ); - expect(getByText('Top Visited')).toBeInTheDocument(); - }); it('should display hits', async () => { const { getByText } = await renderInTestApp( kind="top"', () => { }); describe(' kind="recent"', () => { - it('should render', async () => { - const { getByText } = await renderInTestApp( - - - , - ); - expect(getByText('Recently Visited')).toBeInTheDocument(); - }); it('should display how long ago a visit happened', async () => { const { getByText } = await renderInTestApp(