24 lines
800 B
Handlebars
Raw Normal View History

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