tests(react): create tests for the react bindings to core (#17551)

* Add tests.

* updates after API meeting.

* test(): add tests for create controller components.

* correct testing for controller component

* Ensure tests properly cleanup after each run.

* create common test utils for overlay and controllers.

* initial tests for ion router outlet

* simple update.

* add mocks for jest tests.
This commit is contained in:
Josh Thomas
2019-02-20 15:35:20 -06:00
committed by GitHub
parent cf607329a3
commit d9aa318aa4
22 changed files with 595 additions and 67 deletions

1
react/jest.setup.js Normal file
View File

@ -0,0 +1 @@
global.crypto = require('@trust/webcrypto');