mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
12 lines
295 B
JavaScript
12 lines
295 B
JavaScript
import { mount } from 'enzyme';
|
|
import { main } from '../src/index';
|
|
|
|
const render = template => mount(template);
|
|
|
|
describe('index.jsx', () => {
|
|
test('index.jsx loads without issue', () => {
|
|
const wrapper = main(render);
|
|
expect(wrapper.find('RootProvider')).toHaveLength(1);
|
|
});
|
|
});
|