mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 22:20:06 +02:00
51b0744bcc
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
28 lines
679 B
JavaScript
28 lines
679 B
JavaScript
const test = require('ava');
|
|
const enzyme = require('enzyme');
|
|
const React = require('react');
|
|
|
|
const create = require('../helpers/create');
|
|
|
|
const {
|
|
render
|
|
} = enzyme;
|
|
|
|
const {
|
|
withIntl,
|
|
withRouter
|
|
} = create;
|
|
|
|
test('renders <Services> without exploding', (t) => {
|
|
const Services =
|
|
require('@containers/services/view').default.WrappedComponent;
|
|
const wrapper = render(withRouter(withIntl(<Services />)));
|
|
t.deepEqual(wrapper.length, 1);
|
|
});
|
|
|
|
test.skip('renders connected <Services> without exploding', (t) => {
|
|
const Services = require('@containers/services/view').default;
|
|
const wrapper = render(create(<Services />));
|
|
t.deepEqual(wrapper.length, 1);
|
|
});
|