forked from software-mansion/react-native-reanimated
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration with Jest (software-mansion#1731)
## Description Integration Reanimated2 with Jest testing. As mocks use implementation from the web version of Renimated2. ## Usage To correct run of tests is required to add `require('<path_to>/reanimated2/jestUtils').SetUpTests();` in `jest.setup.js` ## Test code and steps to reproduce The tests are located: [here](https://github.com/software-mansion/react-native-reanimated/tree/__tests__) To run tests: ``` cd ./Example && yarn jest ```
- Loading branch information
Showing
27 changed files
with
2,430 additions
and
1,863 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.