-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update testing setup to migrate to new
@testing-library
packages
The awesome "react-testing" libraries moved to the `@testing-library` package scope which required some changes to be done to migrate the test setup: 1. Updated all package import paths, e.g. `react-testing-library` to `@testing-library/react`. 2. Removed the deprecated import of the `cleanup-after-each` function: "The module `@testing-library/react/cleanup-after-each` has been deprecated and no longer does anything (it is not needed). You no longer need to import this module and can safely remove any import or configuration which imports this module." 3. Updated failing snapshots were only the class name of "styled components" changed. This is because the generated class names are now starting with a counter of `0` instead of `1` that caused only changes like this: ```diff -.c1 +.c0 ``` GH-183
- Loading branch information
1 parent
dd94fe9
commit 9ad0f7b
Showing
14 changed files
with
115 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.