mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 12:10:06 -03:30
unwind error handling use auth cookie as source of truth, fetch config only when authenticated
17 lines
477 B
JavaScript
17 lines
477 B
JavaScript
import React from 'react';
|
|
import { mountWithContexts } from '../../enzymeHelpers';
|
|
import Organizations from '../../../src/pages/Organizations/Organizations';
|
|
|
|
jest.mock('../../../src/api');
|
|
|
|
describe('<Organizations />', () => {
|
|
test('initially renders succesfully', () => {
|
|
mountWithContexts(
|
|
<Organizations
|
|
match={{ path: '/organizations', url: '/organizations' }}
|
|
location={{ search: '', pathname: '/organizations' }}
|
|
/>
|
|
);
|
|
});
|
|
});
|