mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-27 19:23:35 -05:00
18 lines
558 B
JavaScript
18 lines
558 B
JavaScript
import React from 'react';
|
|
import { mount } from 'enzyme';
|
|
import { MemoryRouter } from 'react-router-dom';
|
|
import { I18nProvider } from '@lingui/react';
|
|
import OrganizationListItem from '../../../../src/pages/Organizations/components/OrganizationListItem';
|
|
|
|
describe('<OrganizationListItem />', () => {
|
|
test('initially renders succesfully', () => {
|
|
mount(
|
|
<I18nProvider>
|
|
<MemoryRouter initialEntries={['/organizations']} initialIndex={0}>
|
|
<OrganizationListItem />
|
|
</MemoryRouter>
|
|
</I18nProvider>
|
|
);
|
|
});
|
|
});
|