diff --git a/packages/web-react/tests/testUtils/withHeader.tsx b/packages/web-react/tests/testUtils/withHeader.tsx index f3228e1068..67734eb792 100644 --- a/packages/web-react/tests/testUtils/withHeader.tsx +++ b/packages/web-react/tests/testUtils/withHeader.tsx @@ -1,9 +1,8 @@ import React, { ElementType } from 'react'; import { Header } from '../../src/components/Header'; -export const withHeader = (Component: ElementType) => (props: unknown) => - ( -
- -
- ); +export const withHeader = (Component: ElementType) => (props: unknown) => ( +
+ +
+); diff --git a/packages/web-react/tests/testUtils/withHeaderContext.tsx b/packages/web-react/tests/testUtils/withHeaderContext.tsx index e396e8a88e..e9909a2a8a 100644 --- a/packages/web-react/tests/testUtils/withHeaderContext.tsx +++ b/packages/web-react/tests/testUtils/withHeaderContext.tsx @@ -3,9 +3,8 @@ import { HeaderDialogProvider, HeaderDialogContextProps } from '../../src'; export const withHeaderContext = (Component: ElementType, value = { headerClass: 'Header' } as unknown as HeaderDialogContextProps) => - (props: unknown) => - ( - - - - ); + (props: unknown) => ( + + + + ); diff --git a/packages/web-react/tests/testUtils/withTabsContext.tsx b/packages/web-react/tests/testUtils/withTabsContext.tsx index d214710dca..b7541a9c23 100644 --- a/packages/web-react/tests/testUtils/withTabsContext.tsx +++ b/packages/web-react/tests/testUtils/withTabsContext.tsx @@ -3,9 +3,8 @@ import { TabsContextType, TabsProvider } from '../../src/components/Tabs/TabCont export const withTabsContext = (Component: ElementType, value = { selectedTabId: 0, selectTab: jest.fn() } as TabsContextType) => - (props: unknown) => - ( - - - - ); + (props: unknown) => ( + + + + );