diff --git a/src/settings/IdentifierTypesSettings.test.js b/src/settings/IdentifierTypesSettings.test.js new file mode 100644 index 000000000..fc5cdd6e4 --- /dev/null +++ b/src/settings/IdentifierTypesSettings.test.js @@ -0,0 +1,37 @@ +import React from 'react'; +import { MemoryRouter } from 'react-router-dom'; + +import '../../test/jest/__mock__'; + +import { + renderWithIntl, + stripesStub, + translationsProperties +} from '../../test/jest/helpers'; + +import IdentifierTypesSettings from './IdentifierTypesSettings'; + +const defaultProps = { + stripes: { + ...stripesStub, + connect: component => component, + }, +}; + +const IdentifierTypesSettingsSetup = () => ( + + + +); + +const renderIdentifierTypesSettings = () => renderWithIntl( + , + translationsProperties +); + +describe('IdentifierTypesSettings', () => { + it('should render properly', () => { + const { getByText } = renderIdentifierTypesSettings(); + expect(getByText('ControlledVocab')).toBeInTheDocument(); + }); +});