diff --git a/app/soapbox/components/pending-items-row.tsx b/app/soapbox/components/pending-items-row.tsx index 0081d33e5..4fbf236cd 100644 --- a/app/soapbox/components/pending-items-row.tsx +++ b/app/soapbox/components/pending-items-row.tsx @@ -16,7 +16,7 @@ interface IPendingItemsRow { const PendingItemsRow: React.FC = ({ to, count, size = 'md' }) => { return ( - +
', () => { it('should not render', () => { renderApp(store); - expect(screen.queryAllByTestId('pending-groups-row')).toHaveLength(0); + expect(screen.queryAllByTestId('pending-items-row')).toHaveLength(0); }); }); @@ -69,7 +69,7 @@ describe('', () => { it('should not render', () => { renderApp(store); - expect(screen.queryAllByTestId('pending-groups-row')).toHaveLength(0); + expect(screen.queryAllByTestId('pending-items-row')).toHaveLength(0); }); }); @@ -95,7 +95,7 @@ describe('', () => { renderApp(store); await waitFor(() => { - expect(screen.queryAllByTestId('pending-groups-row')).toHaveLength(1); + expect(screen.queryAllByTestId('pending-items-row')).toHaveLength(1); }); }); }); diff --git a/app/soapbox/features/groups/components/pending-groups-row.tsx b/app/soapbox/features/groups/components/pending-groups-row.tsx index 8f5bfde4b..4d2760760 100644 --- a/app/soapbox/features/groups/components/pending-groups-row.tsx +++ b/app/soapbox/features/groups/components/pending-groups-row.tsx @@ -17,7 +17,6 @@ export default () => { return ( <>