mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-07 08:31:47 -05:00
15 lines
463 B
JavaScript
15 lines
463 B
JavaScript
import React from 'react';
|
|
import { mount } from 'enzyme';
|
|
import { MemoryRouter } from 'react-router-dom';
|
|
import OrganizationListItem from '../../../../src/pages/Organizations/components/OrganizationListItem';
|
|
|
|
describe('<OrganizationListItem />', () => {
|
|
test('initially renders succesfully', () => {
|
|
mount(
|
|
<MemoryRouter initialEntries={['/organizations']} initialIndex={0}>
|
|
<OrganizationListItem />
|
|
</MemoryRouter>
|
|
);
|
|
});
|
|
});
|