mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-06 16:11:49 -05:00
18 lines
598 B
JavaScript
18 lines
598 B
JavaScript
import React from 'react';
|
|
import { MemoryRouter } from 'react-router-dom';
|
|
import { I18nProvider } from '@lingui/react';
|
|
import { mountWithContexts } from '../../../enzymeHelpers';
|
|
import OrganizationListItem from '../../../../src/pages/Organizations/components/OrganizationListItem';
|
|
|
|
describe('<OrganizationListItem />', () => {
|
|
test('initially renders succesfully', () => {
|
|
mountWithContexts(
|
|
<I18nProvider>
|
|
<MemoryRouter initialEntries={['/organizations']} initialIndex={0}>
|
|
<OrganizationListItem />
|
|
</MemoryRouter>
|
|
</I18nProvider>
|
|
);
|
|
});
|
|
});
|