Skip to content

Commit

Permalink
Components: Refactor Button tests to @testing-library/react (#42981)
Browse files Browse the repository at this point in the history
* Components: Refactor Button tests to @testing-library/react

* Always use screen.getByRole queries

* Get rid of mocks and DOM traversing

* Refactor ref test
  • Loading branch information
tyxla committed Aug 12, 2022
1 parent 260cc96 commit b369742
Showing 1 changed file with 188 additions and 146 deletions.

0 comments on commit b369742

Please sign in to comment.