1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/frontend/test/components/index.js
JUDIT GRESKOVITS 51b0744bcc Adding alt router
Setting up example routing

Adding routing spike

Topology proof of concept

Add breadcrumb

Add sections menu

Add App wrapper

Rebase and remove menu placeholder

Sort out services routes

Add all exisiting routes

Linting

Tests

Remove bold font

Change services topology and list pathnames

Remove console.logs

Rebuild routing for clarity and flatter dom structure

Simplify strings and /create instead of /~create for new billing

Rebuild routing for clarity and flatter dom structure
2017-04-05 15:38:03 +01:00

20 lines
495 B
JavaScript

const test = require('ava');
const enzyme = require('enzyme');
const React = require('react');
const {
shallow
} = enzyme;
test('renders <App> without exploding', (t) => {
const App = require('@containers/app').default;
const wrapper = shallow(<App />);
t.deepEqual(wrapper.length, 1);
});
test('renders <NotFound> without exploding', (t) => {
const NotFound = require('@containers/not-found').default;
const wrapper = shallow(<NotFound />);
t.deepEqual(wrapper.length, 1);
});