Fix plugin.test.tsx as page elements were moved out

Signed-off-by: Karan Shah <karan.shah@simplybusiness.co.uk>
This commit is contained in:
Karan Shah
2021-12-29 17:10:45 +00:00
parent 3e77697da0
commit c9ccdbbf12
+1 -3
View File
@@ -52,8 +52,6 @@ describe('Airbrake', () => {
</AppRouter>
</AppProvider>,
);
expect(rendered.getAllByRole('heading', { name: 'Airbrake' }).length).toBe(
2,
);
expect(rendered.getByText('ChunkLoadError')).toBeInTheDocument();
});
});