diff --git a/src/plugins/management_overview/public/__snapshots__/application.test.tsx.snap b/src/plugins/management_overview/public/__snapshots__/application.test.tsx.snap index 27e649cbf1e7..666f1b50c696 100644 --- a/src/plugins/management_overview/public/__snapshots__/application.test.tsx.snap +++ b/src/plugins/management_overview/public/__snapshots__/application.test.tsx.snap @@ -57,53 +57,3 @@ exports[`Overview page rendering should render normally 1`] = ` `; - -exports[`Overview page rendering should render normally when no application available 1`] = ` -
-
-

- - Overview - -

-
-
-
-
-`; - -exports[`Overview page rendering should render normally when no overview app 1`] = ` -
-
-

- - Overview - -

-
-
-
-
-`; diff --git a/src/plugins/management_overview/public/application.test.tsx b/src/plugins/management_overview/public/application.test.tsx index bbd33a6f86a1..5ccd47b08348 100644 --- a/src/plugins/management_overview/public/application.test.tsx +++ b/src/plugins/management_overview/public/application.test.tsx @@ -62,8 +62,7 @@ describe('Overview page rendering', () => { }); it('should render normally when no overview app', () => { - const { container, queryByText } = renderOverviewPage(new Map()); - expect(container.firstChild).toMatchSnapshot(); + const { queryByText } = renderOverviewPage(new Map()); expect(queryByText('Overview')).not.toBeNull(); }); @@ -76,11 +75,7 @@ describe('Overview page rendering', () => { order: 0, }, ]; - const { container, queryByText } = renderOverviewPage( - new Map(), - overviewApps - ); - expect(container.firstChild).toMatchSnapshot(); + const { queryByText } = renderOverviewPage(new Map(), overviewApps); expect(queryByText('Dev Tools')).toBeNull(); });