// import React from 'react'; // import { shallow } from 'enzyme'; // import mountWithIntl from 'testUtils/mountWithIntl'; // import formatMessagesWithPluginId from 'testUtils/formatMessages'; // This part is needed if you need to test the lifecycle of a container that contains FormattedMessages // import pluginId from '../../../pluginId'; // import pluginTradsEn from '../../../translations/en.json'; // import { {{ properCase name }} } from '../index'; // const messages = formatMessagesWithPluginId(pluginId, pluginTradsEn); // const renderComponent = (props = {}) => mountWithIntl(<{{ properCase name }} {...props} />, messages); describe('<{{ properCase name }} />', () => { it('should not crash', () => { shallow(<{{ properCase name }} />); // renderComponent({}); }); });