From c9ccdbbf126b69a2b654b1cd022b86bf1ff05efe Mon Sep 17 00:00:00 2001 From: Karan Shah Date: Wed, 29 Dec 2021 17:10:45 +0000 Subject: [PATCH] Fix plugin.test.tsx as page elements were moved out Signed-off-by: Karan Shah --- plugins/airbrake/src/plugin.test.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/airbrake/src/plugin.test.tsx b/plugins/airbrake/src/plugin.test.tsx index 267f29253d..2d16004f8d 100644 --- a/plugins/airbrake/src/plugin.test.tsx +++ b/plugins/airbrake/src/plugin.test.tsx @@ -52,8 +52,6 @@ describe('Airbrake', () => { , ); - expect(rendered.getAllByRole('heading', { name: 'Airbrake' }).length).toBe( - 2, - ); + expect(rendered.getByText('ChunkLoadError')).toBeInTheDocument(); }); });