File tree Expand file tree Collapse file tree 6 files changed +20
-29
lines changed Expand file tree Collapse file tree 6 files changed +20
-29
lines changed Original file line number Diff line number Diff line change 1
1
import { configure } from '@testing-library/react-native' ;
2
2
3
- // Import built-in Jest matchers
4
- import '@testing-library/react-native/extend-expect' ;
5
-
6
3
// Silence the warning: Animated: `useNativeDriver` is not supported because the native animated module is missing
7
4
jest . mock ( 'react-native/Libraries/Animated/NativeAnimatedHelper' ) ;
8
-
9
- configure ( { concurrentRoot : true } ) ;
Original file line number Diff line number Diff line change 20
20
},
21
21
"devDependencies" : {
22
22
"@babel/core" : " ^7.24.0" ,
23
- "@testing-library/react-native" : " ^12.8.0 " ,
23
+ "@testing-library/react-native" : " ^13.0.0-alpha.1 " ,
24
24
"@types/eslint" : " ^8.56.10" ,
25
25
"@types/jest" : " ^29.5.12" ,
26
26
"@types/react" : " ~18.2.79" ,
Original file line number Diff line number Diff line change @@ -2463,22 +2463,22 @@ __metadata:
2463
2463
languageName : node
2464
2464
linkType : hard
2465
2465
2466
- " @testing-library/react-native@npm:^12.8.0 " :
2467
- version : 12.8.0
2468
- resolution : " @testing-library/react-native@npm:12.8.0 "
2466
+ " @testing-library/react-native@npm:^13.0.0-alpha.1 " :
2467
+ version : 13.0.0-alpha.1
2468
+ resolution : " @testing-library/react-native@npm:13.0.0-alpha.1 "
2469
2469
dependencies :
2470
2470
jest-matcher-utils : " npm:^29.7.0"
2471
2471
pretty-format : " npm:^29.7.0"
2472
2472
redent : " npm:^3.0.0"
2473
2473
peerDependencies :
2474
- jest : " >=28 .0.0"
2475
- react : " >=16.8 .0"
2476
- react-native : " >=0.59 "
2477
- react-test-renderer : " >=16.8 .0"
2474
+ jest : " >=29 .0.0"
2475
+ react : " >=18.2 .0"
2476
+ react-native : " >=0.71 "
2477
+ react-test-renderer : " >=18.2 .0"
2478
2478
peerDependenciesMeta :
2479
2479
jest :
2480
2480
optional : true
2481
- checksum : 10c0/216d40eefc3afa3259b37611213dcd6667cd0b8deb30521a8aaabe3afc15f07116ce64acba150f8c88b8e268df80639baf6bc38f05af1dbbae247e1d07639bde
2481
+ checksum : 10c0/48b5d2d32fc6e0d3adcaf2c4fad9106eaf3274bb0b441db1c3375a811d53242c972d065cab61c57b00156fe4d33db9bb8ef6b6b160d44ef7697bae3c627e6513
2482
2482
languageName : node
2483
2483
linkType : hard
2484
2484
@@ -8923,7 +8923,7 @@ __metadata:
8923
8923
resolution : " root-workspace-0b6124@workspace:."
8924
8924
dependencies :
8925
8925
" @babel/core " : " npm:^7.24.0"
8926
- " @testing-library/react-native " : " npm:^12.8.0 "
8926
+ " @testing-library/react-native " : " npm:^13.0.0-alpha.1 "
8927
8927
" @types/eslint " : " npm:^8.56.10"
8928
8928
" @types/jest " : " npm:^29.5.12"
8929
8929
" @types/react " : " npm:~18.2.79"
Original file line number Diff line number Diff line change 1
1
import { configure } from '@testing-library/react-native' ;
2
2
3
- // Import built-in Jest matchers
4
- import '@testing-library/react-native/extend-expect' ;
5
3
import { server } from './app/network-requests/__tests__/test-utils' ;
6
4
7
5
// Silence the warning: Animated: `useNativeDriver` is not supported because the native animated module is missing
@@ -15,5 +13,3 @@ afterEach(() => server.resetHandlers());
15
13
16
14
// Disable API mocking after the tests are done
17
15
afterAll ( ( ) => server . close ( ) ) ;
18
-
19
- configure ( { concurrentRoot : true } ) ;
Original file line number Diff line number Diff line change 30
30
"devDependencies" : {
31
31
"@babel/core" : " ^7.20.0" ,
32
32
"@expo/metro-runtime" : " ~3.2.3" ,
33
- "@testing-library/react-native" : " ^12.8.0 " ,
33
+ "@testing-library/react-native" : " ^13.0.0-alpha.1 " ,
34
34
"@types/eslint" : " ^8.56.10" ,
35
35
"@types/jest" : " ^29.5.12" ,
36
36
"@types/react" : " ~18.2.45" ,
Original file line number Diff line number Diff line change @@ -2833,22 +2833,22 @@ __metadata:
2833
2833
languageName : node
2834
2834
linkType : hard
2835
2835
2836
- " @testing-library/react-native@npm:^12.8.0 " :
2837
- version : 12.8.0
2838
- resolution : " @testing-library/react-native@npm:12.8.0 "
2836
+ " @testing-library/react-native@npm:^13.0.0-alpha.1 " :
2837
+ version : 13.0.0-alpha.1
2838
+ resolution : " @testing-library/react-native@npm:13.0.0-alpha.1 "
2839
2839
dependencies :
2840
2840
jest-matcher-utils : " npm:^29.7.0"
2841
2841
pretty-format : " npm:^29.7.0"
2842
2842
redent : " npm:^3.0.0"
2843
2843
peerDependencies :
2844
- jest : " >=28 .0.0"
2845
- react : " >=16.8 .0"
2846
- react-native : " >=0.59 "
2847
- react-test-renderer : " >=16.8 .0"
2844
+ jest : " >=29 .0.0"
2845
+ react : " >=18.2 .0"
2846
+ react-native : " >=0.71 "
2847
+ react-test-renderer : " >=18.2 .0"
2848
2848
peerDependenciesMeta :
2849
2849
jest :
2850
2850
optional : true
2851
- checksum : 10c0/216d40eefc3afa3259b37611213dcd6667cd0b8deb30521a8aaabe3afc15f07116ce64acba150f8c88b8e268df80639baf6bc38f05af1dbbae247e1d07639bde
2851
+ checksum : 10c0/48b5d2d32fc6e0d3adcaf2c4fad9106eaf3274bb0b441db1c3375a811d53242c972d065cab61c57b00156fe4d33db9bb8ef6b6b160d44ef7697bae3c627e6513
2852
2852
languageName : node
2853
2853
linkType : hard
2854
2854
@@ -9762,7 +9762,7 @@ __metadata:
9762
9762
dependencies :
9763
9763
" @babel/core " : " npm:^7.20.0"
9764
9764
" @expo/metro-runtime " : " npm:~3.2.3"
9765
- " @testing-library/react-native " : " npm:^12.8.0 "
9765
+ " @testing-library/react-native " : " npm:^13.0.0-alpha.1 "
9766
9766
" @types/eslint " : " npm:^8.56.10"
9767
9767
" @types/jest " : " npm:^29.5.12"
9768
9768
" @types/react " : " npm:~18.2.45"
You can’t perform that action at this time.
0 commit comments