Skip to content

Commit

Permalink
Components: Improve BoxControl tests (#45968)
Browse files Browse the repository at this point in the history
* Fix no-node-access violation

* Get rid of getInput() and improve input query

* Get rid of getSelect() and improve combobox query

* Get rid of getReset() and improve reset button query

* Get rid of setupUser() and inline it

* Add spaces to improve readability

* Improve test name

* Inline all constants that are used just once

* Use toHaveLength to improve assertion

* Revert unwanted change

* Improve precision of existing queries

* Use the same mock for setState(), improve assertions
  • Loading branch information
tyxla authored Nov 29, 2022
1 parent b18757c commit 72b20b3
Showing 1 changed file with 206 additions and 135 deletions.
Loading

0 comments on commit 72b20b3

Please sign in to comment.