Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(component): refactor Chip component tests #653

Merged

Conversation

bc-alexsaiannyi
Copy link
Contributor

What?

This PR is aimed to refactor Chip 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.

@bc-alexsaiannyi bc-alexsaiannyi marked this pull request as ready for review November 23, 2021 12:20
@bc-alexsaiannyi bc-alexsaiannyi requested review from a team as code owners November 23, 2021 12:20
@bc-alexsaiannyi bc-alexsaiannyi merged commit 6479028 into bigcommerce:master Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants