You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: This issue will be addressed in multiple PRs as it is massive!
Description
We are heavily using enzyme in our tests. Enzyme is dead and is actually blocking the upgrade of React.
Nowadays we can achieve the same result by using RTL and jest. A good approach is to start first with the snapshots and continue with the rest of the tests. Another approach is to migrate slowly (per collection or whenever we touch a component, we rewrite the test). Strategy to be defined.
Work involved
Identify migration strategy
Identify the parts that are using enzyme
Refactor them to use RTL with Jest
Acceptance criteria
The tests work as before and no regression is introduced
NOTE: This issue will be addressed in multiple PRs as it is massive!
Description
We are heavily using enzyme in our tests. Enzyme is dead and is actually blocking the upgrade of React.
Nowadays we can achieve the same result by using RTL and jest. A good approach is to start first with the snapshots and continue with the rest of the tests. Another approach is to migrate slowly (per collection or whenever we touch a component, we rewrite the test). Strategy to be defined.
Work involved
Acceptance criteria
Subtasks
The text was updated successfully, but these errors were encountered: