Correct component tests usage of testing-library and async
Closed this issue · 0 comments
JakeLo123 commented
Correct component tests usage of testing-library and async
Description
The component tests (buttons, and HOC tests) use waitFor
to render components. This can cause unexpected behavior.
This is the same pattern as issue #62.
Relevant docs... https://testing-library.com/docs/dom-testing-library/api-async#waitfor
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.