diff --git a/examples/basic/package.json b/examples/basic/package.json index 4190a1a75..098a13206 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -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 } diff --git a/examples/react-navigation/README.md b/examples/react-navigation/README.md index 3e39f9641..ac315c6e3 100644 --- a/examples/react-navigation/README.md +++ b/examples/react-navigation/README.md @@ -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 diff --git a/examples/react-navigation/package.json b/examples/react-navigation/package.json index 642c2f2ab..a4f7beadc 100644 --- a/examples/react-navigation/package.json +++ b/examples/react-navigation/package.json @@ -12,8 +12,8 @@ "@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", @@ -21,11 +21,11 @@ }, "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" } } diff --git a/examples/redux/README.md b/examples/redux/README.md new file mode 100644 index 000000000..d48008596 --- /dev/null +++ b/examples/redux/README.md @@ -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. \ No newline at end of file diff --git a/examples/redux/package.json b/examples/redux/package.json index d1c531764..221c7f26f 100644 --- a/examples/redux/package.json +++ b/examples/redux/package.json @@ -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" } }