GoodDAPP icon indicating copy to clipboard operation
GoodDAPP copied to clipboard

(Chore) Could not test components/hooks with async logic

Open serdiukov-o-nordwhale opened this issue 4 years ago • 0 comments

We're using 16.8.x react-test-renderer which doesn't supports async act() implementation. So there is no way to test components & hooks containing async logic.

We've met this issue trying to test 14th claim popup & feed message. Also, async logic is used in Zoom integration hooks so we're unable to write tests for them too

[ ] update react & react-test-renderer to 16.9.x + [ ] make tests for async logic components/hooks could run [ ] retest whole app

serdiukov-o-nordwhale avatar Apr 07 '20 10:04 serdiukov-o-nordwhale