27 lines
842 B
Handlebars
Raw Normal View History

2019-03-07 17:54:50 +01:00
import React from 'react';
import { shallow } from 'enzyme';
2017-01-17 13:40:59 +01:00
2019-03-07 17:54:50 +01:00
import {{ properCase name }} from '../index';
2017-01-17 13:40:59 +01:00
2019-03-12 15:29:03 +01:00
// 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);
2017-01-17 13:40:59 +01:00
describe('<{{ properCase name }} />', () => {
2019-03-07 17:54:50 +01:00
it('should not crash', () => {
shallow(<{{ properCase name }} />);
2019-03-12 15:29:03 +01:00
// renderComponent({});
2017-01-17 13:40:59 +01:00
});
});