mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 10:10:01 -03:30
* working: rename OrganizationTeamsList to PaginatedDataList * convert org notifications list fully to PaginatedDataList * update NotificationList tests * refactor org access to use PaginatedDataList * update tests for org access refactor; fix pagination & sorting * restore Add Role functionality to Org roles * fix displayed text when list of items is empty * preserve query params when navigating through pagination * fix bugs after RBAC rebase * fix lint errors, fix add org access button
75 lines
1.2 KiB
Plaintext
75 lines
1.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`mountWithContexts injected ConfigProvider should mount and render with custom Config value 1`] = `
|
|
<Foo>
|
|
<Config>
|
|
<div>
|
|
Fizz
|
|
1.1
|
|
</div>
|
|
</Config>
|
|
</Foo>
|
|
`;
|
|
|
|
exports[`mountWithContexts injected ConfigProvider should mount and render with default values 1`] = `
|
|
<Foo>
|
|
<Config>
|
|
<div />
|
|
</Config>
|
|
</Foo>
|
|
`;
|
|
|
|
exports[`mountWithContexts injected I18nProvider should mount and render 1`] = `
|
|
<div>
|
|
<I18n
|
|
update={true}
|
|
withHash={true}
|
|
>
|
|
<span>
|
|
Text content
|
|
</span>
|
|
</I18n>
|
|
</div>
|
|
`;
|
|
|
|
exports[`mountWithContexts injected I18nProvider should mount and render deeply nested consumer 1`] = `
|
|
<Parent>
|
|
<Child>
|
|
<I18n
|
|
update={true}
|
|
withHash={true}
|
|
>
|
|
<div>
|
|
Text content
|
|
</div>
|
|
</I18n>
|
|
</Child>
|
|
</Parent>
|
|
`;
|
|
|
|
exports[`mountWithContexts injected Network should mount and render 1`] = `
|
|
<Foo
|
|
api={"/api/"}
|
|
handleHttpError={[Function]}
|
|
>
|
|
<div>
|
|
test
|
|
</div>
|
|
</Foo>
|
|
`;
|
|
|
|
exports[`mountWithContexts injected Router should mount and render 1`] = `
|
|
<div>
|
|
<Link
|
|
replace={false}
|
|
to="/"
|
|
>
|
|
<a
|
|
onClick={[Function]}
|
|
>
|
|
home
|
|
</a>
|
|
</Link>
|
|
</div>
|
|
`;
|