joyent-portal/spikes/stacks/redux-loop/test/index.js

14 lines
309 B
JavaScript
Raw Permalink Normal View History

2016-10-17 18:52:00 +03:00
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);
});