2019-03-12 15:29:03 +01:00

27 lines
842 B
Handlebars

import React from 'react';
import { shallow } from 'enzyme';
import {{ properCase name }} from '../index';
// 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({});
});
});