kabisa / kudos-frontend

The frontend for the Kudos-o-Matic! (Mobile / Desktop)
2 stars 0 forks source link

Test/migrate to rtl #187

Closed matthijsgroen closed 2 months ago

matthijsgroen commented 3 months ago

What

Replacing all tests using Enzyme with an React Testing Library equivalent. Enabling tests again where possible.

Why

Enzyme is considered Technical debt, blocking any React upgrades

Code Review

Please consider the following checklist when reviewing this Pull Request.
More background and details here.

codeclimate[bot] commented 3 months ago

Code Climate has analyzed commit d6be692e and detected 179 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2
Style 177

The test coverage on the diff in this pull request is 96.7% (50% is the threshold).

This pull request will bring the total coverage in the repository to 70.2% (28.2% change).

View more on Code Climate.