mirror of
https://github.com/strapi/strapi.git
synced 2025-10-13 17:15:33 +00:00
24 lines
800 B
Handlebars
24 lines
800 B
Handlebars
// 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({});
|
|
});
|
|
});
|