This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
Correct component tests usage of testing-library and async #83
Labels
general issue
not necessarily an observable bug, but needs change
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.
The text was updated successfully, but these errors were encountered: