|
13 | 13 | "test": "jest", |
14 | 14 | "semantic-release": "semantic-release" |
15 | 15 | }, |
| 16 | + "jest": { |
| 17 | + "preset": "react-native", |
| 18 | + "setupFilesAfterEnv": [ |
| 19 | + "@testing-library/jest-native/extend-expect" |
| 20 | + ], |
| 21 | + "transformIgnorePatterns": [ |
| 22 | + "node_modules/(?!(react-native|react-native-webview|@react-native|@react-navigation)/)" |
| 23 | + ] |
| 24 | + }, |
16 | 25 | "devDependencies": { |
17 | 26 | "@babel/core": "^7.22.0", |
18 | 27 | "@babel/runtime": "^7.14.6", |
19 | 28 | "@react-native-community/eslint-config": "^3.0.0", |
20 | | - "@types/jest": "^26.0.24", |
| 29 | + "@testing-library/jest-native": "^5.4.3", |
| 30 | + "@testing-library/react-native": "^13.0.0", |
| 31 | + "@types/jest": "^29.5.14", |
21 | 32 | "@types/react-native": "^0.64.12", |
22 | 33 | "@types/validator": "^13.6.3", |
23 | 34 | "babel-jest": "^26.6.3", |
24 | 35 | "eslint": "^7.30.0", |
25 | 36 | "eslint-plugin-simple-import-sort": "^7.0.0", |
26 | | - "jest": "^26.6.3", |
| 37 | + "jest": "^29.7.0", |
| 38 | + "jest-react-native": "^18.0.0", |
27 | 39 | "metro-react-native-babel-preset": "^0.66.1", |
28 | 40 | "react": "^17.0.1", |
29 | 41 | "react-native": "^0.64.2", |
| 42 | + "react-test-renderer": "^19.0.0", |
30 | 43 | "semantic-release": "^24.0.0", |
31 | 44 | "typescript": "^4.3.5" |
32 | 45 | }, |
|
0 commit comments