2016-10-23 07:27:18 +03:00
|
|
|
const test = require('ava');
|
|
|
|
const enzyme = require('enzyme');
|
|
|
|
const React = require('react');
|
|
|
|
|
|
|
|
const {
|
|
|
|
shallow
|
|
|
|
} = enzyme;
|
|
|
|
|
2016-10-28 17:14:35 +03:00
|
|
|
test('renders <Base> without exploding', (t) => {
|
|
|
|
const Base = require('../src/components/base');
|
|
|
|
const wrapper = shallow(<Base />);
|
2016-10-23 07:27:18 +03:00
|
|
|
t.deepEqual(wrapper.length, 1);
|
|
|
|
});
|