File tree 5 files changed +26
-19
lines changed
5 files changed +26
-19
lines changed Original file line number Diff line number Diff line change 10
10
"typecheck" : " tsc --noEmit"
11
11
},
12
12
"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 " ,
15
15
"react" : " 18.2.0" ,
16
16
"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 "
19
19
},
20
20
"devDependencies" : {
21
21
"@babel/core" : " ^7.20.0" ,
22
22
"@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 " ,
25
25
"jest" : " ^29.3.0" ,
26
26
"react-test-renderer" : " 18.2.0" ,
27
- "typescript" : " ^5.0.4 "
27
+ "typescript" : " ^5.1.3 "
28
28
},
29
29
"private" : true
30
30
}
Original file line number Diff line number Diff line change 1
1
# RNTL example app for React Navigation
2
2
3
+ ** Note: this example is stale and might not function correctly.**
4
+
3
5
This 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.
4
6
5
7
## Recommended tests
Original file line number Diff line number Diff line change 12
12
"@react-navigation/native" : " ^6.0.14" ,
13
13
"@react-navigation/native-stack" : " ^6.9.2" ,
14
14
"@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 " ,
17
17
"react-native-gesture-handler" : " ^2.8.0" ,
18
18
"react-native-reanimated" : " ^2.13.0" ,
19
19
"react-native-safe-area-context" : " ^4.4.1" ,
20
20
"react-native-screens" : " ^3.18.2"
21
21
},
22
22
"devDependencies" : {
23
23
"@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 " ,
26
26
"babel-jest" : " ^29.3.1" ,
27
27
"jest" : " ^29.3.0" ,
28
28
"metro-react-native-babel-preset" : " ^0.72.3" ,
29
- "react-test-renderer" : " ^ 18.1 .0"
29
+ "react-test-renderer" : " 18.2 .0"
30
30
}
31
31
}
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 7
7
"test" : " jest"
8
8
},
9
9
"dependencies" : {
10
- "react" : " ~ 18.0 .0" ,
11
- "react-native" : " ~0.69.2 " ,
10
+ "react" : " 18.2 .0" ,
11
+ "react-native" : " 0.72.3 " ,
12
12
"react-redux" : " ^7.2.0" ,
13
13
"redux" : " ^4.0.5"
14
14
},
15
15
"devDependencies" : {
16
16
"@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"
22
22
}
23
23
}
You can’t perform that action at this time.
0 commit comments