File tree Expand file tree Collapse file tree 5 files changed +26
-19
lines changed Expand file tree Collapse file tree 5 files changed +26
-19
lines changed Original file line number Diff line number Diff line change 1010 "typecheck" : " tsc --noEmit"
1111 },
1212 "dependencies" : {
13- "expo" : " ^48 .0.0" ,
14- "expo-status-bar" : " ~1.4.4 " ,
13+ "expo" : " ^49 .0.0" ,
14+ "expo-status-bar" : " ~1.6.0 " ,
1515 "react" : " 18.2.0" ,
1616 "react-dom" : " 18.2.0" ,
17- "react-native" : " 0.71 .3" ,
18- "react-native-web" : " ~0.18.11 "
17+ "react-native" : " 0.72 .3" ,
18+ "react-native-web" : " ~0.19.6 "
1919 },
2020 "devDependencies" : {
2121 "@babel/core" : " ^7.20.0" ,
2222 "@testing-library/jest-native" : " ^5.4.2" ,
23- "@testing-library/react-native" : " ^12.1.2 " ,
24- "@types/react" : " ~18.2.6 " ,
23+ "@testing-library/react-native" : " ^12.1.3 " ,
24+ "@types/react" : " ~18.2.14 " ,
2525 "jest" : " ^29.3.0" ,
2626 "react-test-renderer" : " 18.2.0" ,
27- "typescript" : " ^5.0.4 "
27+ "typescript" : " ^5.1.3 "
2828 },
2929 "private" : true
3030}
Original file line number Diff line number Diff line change 11# RNTL example app for React Navigation
22
3+ ** Note: this example is stale and might not function correctly.**
4+
35This example shows how to write integration tests using React Navigation without mocking it. Presented approach has been consulted with and influenced by React Navigation team.
46
57## Recommended tests
Original file line number Diff line number Diff line change 1212 "@react-navigation/native" : " ^6.0.14" ,
1313 "@react-navigation/native-stack" : " ^6.9.2" ,
1414 "@react-navigation/stack" : " ^6.3.5" ,
15- "react" : " ^ 18.1 .0" ,
16- "react-native" : " ^0.70.6 " ,
15+ "react" : " 18.2 .0" ,
16+ "react-native" : " 0.72.3 " ,
1717 "react-native-gesture-handler" : " ^2.8.0" ,
1818 "react-native-reanimated" : " ^2.13.0" ,
1919 "react-native-safe-area-context" : " ^4.4.1" ,
2020 "react-native-screens" : " ^3.18.2"
2121 },
2222 "devDependencies" : {
2323 "@babel/core" : " ^7.20.2" ,
24- "@testing-library/jest-native" : " ^5.4.0 " ,
25- "@testing-library/react-native" : " ^11.5.0 " ,
24+ "@testing-library/jest-native" : " ^5.4.2 " ,
25+ "@testing-library/react-native" : " ^12.1.3 " ,
2626 "babel-jest" : " ^29.3.1" ,
2727 "jest" : " ^29.3.0" ,
2828 "metro-react-native-babel-preset" : " ^0.72.3" ,
29- "react-test-renderer" : " ^ 18.1 .0"
29+ "react-test-renderer" : " 18.2 .0"
3030 }
3131}
Original file line number Diff line number Diff line change 1+ # RNTL example app for Redux
2+
3+ ** Note: this example is stale and might not function correctly.**
4+
5+ This example shows how to write integration tests using Redux without mocking it.
Original file line number Diff line number Diff line change 77 "test" : " jest"
88 },
99 "dependencies" : {
10- "react" : " ~ 18.0 .0" ,
11- "react-native" : " ~0.69.2 " ,
10+ "react" : " 18.2 .0" ,
11+ "react-native" : " 0.72.3 " ,
1212 "react-redux" : " ^7.2.0" ,
1313 "redux" : " ^4.0.5"
1414 },
1515 "devDependencies" : {
1616 "@babel/core" : " ^7.9.0" ,
17- "@testing-library/react-native" : " ^11.0.0 " ,
18- "@types/jest" : " ^28 .0.0" ,
19- "jest" : " ^28 .0.0" ,
20- "metro-react-native-babel-preset" : " ^0.70 .0" ,
21- "react-test-renderer" : " ^ 18.0 .0"
17+ "@testing-library/react-native" : " ^12.1.3 " ,
18+ "@types/jest" : " ^29 .0.0" ,
19+ "jest" : " ^29 .0.0" ,
20+ "metro-react-native-babel-preset" : " ~0.72 .0" ,
21+ "react-test-renderer" : " 18.2 .0"
2222 }
2323}
You can’t perform that action at this time.
0 commit comments