Skip to content

chore: update example deps #1435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"expo": "^48.0.0",
"expo-status-bar": "~1.4.4",
"expo": "^49.0.0",
"expo-status-bar": "~1.6.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.71.3",
"react-native-web": "~0.18.11"
"react-native": "0.72.3",
"react-native-web": "~0.19.6"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@testing-library/jest-native": "^5.4.2",
"@testing-library/react-native": "^12.1.2",
"@types/react": "~18.2.6",
"@testing-library/react-native": "^12.1.3",
"@types/react": "~18.2.14",
"jest": "^29.3.0",
"react-test-renderer": "18.2.0",
"typescript": "^5.0.4"
"typescript": "^5.1.3"
},
"private": true
}
2 changes: 2 additions & 0 deletions examples/react-navigation/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# RNTL example app for React Navigation

**Note: this example is stale and might not function correctly.**

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.

## Recommended tests
Expand Down
10 changes: 5 additions & 5 deletions examples/react-navigation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"@react-navigation/native": "^6.0.14",
"@react-navigation/native-stack": "^6.9.2",
"@react-navigation/stack": "^6.3.5",
"react": "^18.1.0",
"react-native": "^0.70.6",
"react": "18.2.0",
"react-native": "0.72.3",
"react-native-gesture-handler": "^2.8.0",
"react-native-reanimated": "^2.13.0",
"react-native-safe-area-context": "^4.4.1",
"react-native-screens": "^3.18.2"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@testing-library/jest-native": "^5.4.0",
"@testing-library/react-native": "^11.5.0",
"@testing-library/jest-native": "^5.4.2",
"@testing-library/react-native": "^12.1.3",
"babel-jest": "^29.3.1",
"jest": "^29.3.0",
"metro-react-native-babel-preset": "^0.72.3",
"react-test-renderer": "^18.1.0"
"react-test-renderer": "18.2.0"
}
}
5 changes: 5 additions & 0 deletions examples/redux/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# RNTL example app for Redux

**Note: this example is stale and might not function correctly.**

This example shows how to write integration tests using Redux without mocking it.
14 changes: 7 additions & 7 deletions examples/redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
"test": "jest"
},
"dependencies": {
"react": "~18.0.0",
"react-native": "~0.69.2",
"react": "18.2.0",
"react-native": "0.72.3",
"react-redux": "^7.2.0",
"redux": "^4.0.5"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@testing-library/react-native": "^11.0.0",
"@types/jest": "^28.0.0",
"jest": "^28.0.0",
"metro-react-native-babel-preset": "^0.70.0",
"react-test-renderer": "^18.0.0"
"@testing-library/react-native": "^12.1.3",
"@types/jest": "^29.0.0",
"jest": "^29.0.0",
"metro-react-native-babel-preset": "~0.72.0",
"react-test-renderer": "18.2.0"
}
}