mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 22:20:06 +02:00
20 lines
426 B
JavaScript
20 lines
426 B
JavaScript
const test = require('ava');
|
|
const enzyme = require('enzyme');
|
|
const React = require('react');
|
|
|
|
const create = require('../helpers/create');
|
|
|
|
const {
|
|
render
|
|
} = enzyme;
|
|
|
|
const {
|
|
withIntl
|
|
} = create;
|
|
|
|
test('renders <ProjectSection> without exploding', (t) => {
|
|
const Section = require('@containers/project/section').WrappedComponent;
|
|
const wrapper = render(withIntl(<Section />));
|
|
t.deepEqual(wrapper.length, 1);
|
|
});
|