Skip to content

Commit

Permalink
Integrate react-native-gesture-handler with jest
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorJohn committed Feb 18, 2021
1 parent e9aaef2 commit f253f77
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@
"react-test-renderer": "16.13.1"
},
"jest": {
"preset": "react-native"
"preset": "react-native",
"setupFiles": [
"./node_modules/react-native-gesture-handler/jestSetup.js"
]
}
},
"husky": {
"hooks": {
Expand Down

0 comments on commit f253f77

Please sign in to comment.