Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use callback instead of reusing saved element
Re-query for the dialog element instead of reusing the prior element as suggested in testing-library/dom-testing-library#1204 (comment)
- Loading branch information