joyent-portal/frontend/test/index.js

30 lines
764 B
JavaScript
Raw Normal View History

2016-10-20 04:14:26 +03:00
const test = require('ava');
const enzyme = require('enzyme');
const React = require('react');
const {
shallow
} = enzyme;
2016-12-06 13:18:15 +02:00
test('noop', (t) => {
t.deepEqual(1, 1);
2016-10-20 04:14:26 +03:00
});
2016-12-06 13:18:15 +02:00
// test('renders <App> without exploding', (t) => {
// const App = require('../src/containers/app');
// const wrapper = shallow(<App />);
// t.deepEqual(wrapper.length, 1);
// });
//
// test('renders <Home> without exploding', (t) => {
// const Home = require('../src/containers/home');
// const wrapper = shallow(<Home />);
// t.deepEqual(wrapper.length, 1);
// });
//
// test('renders <NotFound> without exploding', (t) => {
// const NotFound = require('../src/containers/not-found');
// const wrapper = shallow(<NotFound />);
// t.deepEqual(wrapper.length, 1);
// });