diff --git a/frontend/src/component/tags/TagTypeList/__tests__/TagTypeList.test.tsx b/frontend/src/component/tags/TagTypeList/__tests__/TagTypeList.test.tsx index 074a3a5c8c..b31913f9f5 100644 --- a/frontend/src/component/tags/TagTypeList/__tests__/TagTypeList.test.tsx +++ b/frontend/src/component/tags/TagTypeList/__tests__/TagTypeList.test.tsx @@ -5,11 +5,7 @@ import { MemoryRouter } from 'react-router-dom'; import { ThemeProvider } from '@material-ui/styles'; import theme from 'themes/mainTheme'; import AccessProvider from 'component/providers/AccessProvider/AccessProvider'; -import { - ADMIN, - DELETE_TAG_TYPE, - UPDATE_TAG_TYPE, -} from 'component/providers/AccessProvider/permissions'; +import { ADMIN } from 'component/providers/AccessProvider/permissions'; import UIProvider from 'component/providers/UIProvider/UIProvider'; test('renders an empty list correctly', () => { @@ -18,11 +14,7 @@ test('renders an empty list correctly', () => { - + @@ -30,33 +22,3 @@ test('renders an empty list correctly', () => { ); expect(tree).toMatchSnapshot(); }); - -test('renders a list with elements correctly', () => { - const tree = renderer.create( - - - - - - - - - - ); - expect(tree).toMatchSnapshot(); -}); diff --git a/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap b/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap index bc820ff22b..154a94d021 100644 --- a/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap +++ b/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap @@ -1,81 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`renders a list with elements correctly 1`] = ` -
-
-
-
-

- Tag Types -

-
-
- -
-
-
-
- -
-
-`; - exports[`renders an empty list correctly 1`] = `