mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 22:20:06 +02:00
8295bd6882
this shall be a progressive process
14 lines
309 B
JavaScript
14 lines
309 B
JavaScript
const test = require('ava');
|
|
const enzyme = require('enzyme');
|
|
const React = require('react');
|
|
|
|
const {
|
|
shallow
|
|
} = enzyme;
|
|
|
|
test('renders <Home> without exploding', (t) => {
|
|
const Home = require('../src/client/containers/home');
|
|
const wrapper = shallow(<Home />);
|
|
t.deepEqual(wrapper.length, 1);
|
|
});
|