big-design
big-design copied to clipboard
test(component): refactor Checkbox component tests
What?
This PR is aimed to refactor Checkbox component's tests according to best practices. We take into account recommendations from Kent C. Dodds article. For instance, using container
for query
-ing elements has been removed. Instead, we replace it with screen
.
Why?
the changes are based on GitHub issue and PRs will be open for each component separately.
Testing/Proof
The tests have been successfully run locally.