1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
awx/__tests__
Keith Grant ae72d8dce5
Context test tools (#168)
* add enzyme test helper with lingui provider

* add router context to enzyme test helper

* get 18n, router, & config contexts rendering together in enzyme helper

* add config context to enzyme helpers

* add network and dialog contexts to enzymeHelpers

* convert OrganizationForm tests to use new mountWithContexts helper

* default all context value keys to default unless provided

* document use of mountWithContexts()

* fix typo in CONTRIBUTING.md

* update Organizations to use mountWithContext
2019-04-18 10:03:06 -04:00
..
__snapshots__ Context test tools (#168) 2019-04-18 10:03:06 -04:00
components fix unit tests for network handling 2019-04-11 10:42:33 -04:00
pages Context test tools (#168) 2019-04-18 10:03:06 -04:00
util Add contrib docs based on context changes and move qs to util dir 2019-04-11 11:58:15 -04:00
.eslintrc fix tests eslintrc 2019-04-03 13:29:25 -04:00
api.test.js Add remove role functionality. 2019-03-08 13:56:27 -05:00
App.test.jsx fix unit tests for network handling 2019-04-11 10:42:33 -04:00
enzymeHelpers.jsx Context test tools (#168) 2019-04-18 10:03:06 -04:00
enzymeHelpers.test.jsx Context test tools (#168) 2019-04-18 10:03:06 -04:00
index.test.jsx move router setup to RootProvider 2019-04-11 17:07:46 -04:00
RootProvider.test.jsx fix unit tests for network handling 2019-04-11 10:42:33 -04:00
testUtils.js fix tests for OrganizationTeams, OrganizationTeamsList 2019-04-08 10:59:26 -04:00