(PC-38594) chore(RN): Bump RN from 0.78 to 0.80#8909
Conversation
e228631 to
7b5275c
Compare
7b5275c to
ac85dc5
Compare
|
🚀 Les tests E2E iOS et Android ont été lancés ! Les résultats seront disponibles :
|
c15eae4 to
2a149bc
Compare
2a149bc to
2aec586
Compare
|
🚀 Les tests E2E iOS et Android ont été lancés ! Les résultats seront disponibles :
|
2aec586 to
c75b4e7
Compare
355e302 to
0e82baa
Compare
|
🚀 Les tests E2E iOS et Android ont été lancés ! Les résultats seront disponibles :
|
| jest.spyOn(Keyboard, 'addListener').mockImplementation( | ||
| () => | ||
| ({ | ||
| remove: jest.fn(), | ||
| }) as unknown as EmitterSubscription | ||
| ) |
There was a problem hiding this comment.
Peut être le déplacer dans le dossier __mocks__/
Ce fichier va être appelé au début de chaque test vs quand il sera importé si il est dans le dossier de mocks
There was a problem hiding this comment.
Vu avec toi : Après avoir tout essayé je n'ai pas réussi à créer un mock plus global dans __mocks__/ donc on reste là-dessus sauf si quelqu'un y arrive.
PS : Le problème touche énormément de tests
ca8b616 to
925fd09
Compare
|
Est-ce que tu peux mettre un |
5cb192a to
d2a2624
Compare
|
- update zustand because of : https://github.com/pmndrs/zustand/releases/tag/4.5.7 - fix typescript errors due to setTimeout() and setInterval() - fix removeGeneratedStorageKey.native.test.ts - fix ConsentSettings.native.test.tsx - move from react-native-fast-image 8.6.3 (no longer maintained) to @d11/react-native-fast-image 8.13.0 to supported RN 0.80 - upgrade react-native-reanimated from 3.18.0 to 4.1.5 to support RN 0.80 Add react-native-worklets lib, It has been separated from Reanimated but remains necessary - upgrade @gorhom/bottom-sheet from 4.6.3 to 5.2.6 for compatibility reason - upgrade react-native-maps from 1.23.12 to 1.26.0 because of error : Unimplemented component: <RNMapsMapView> - patch react-native-date-picker (seems to no longer be maintained) because of RNDatePickerManager does not conform to RCTModuleProvider - upgrade react-native-gesture-handler from 2.26.0 to 2.29.1 for compatibility reason. `TouchableOpacity` and `TouchableWithoutFeedback` are deprecated and no longer seems to work in tests
d2a2624 to
e1612cb
Compare
|



🔄 Mise à jour
react-native@0.80Link to JIRA ticket: https://passculture.atlassian.net/browse/PC-38594
Lien utiles
Releases overview
Release note
Changelog
Upgrade helper
📊 État d'avancement (après que la CI soit verte)
yarn build:testing && yarn vite preview --mode=testingyarn start:web:testing./gradlew assembleDebugyarn android:testingyarn ios:testingyarn build-storybookyarn storybookyarn trigger:testing:deploydev-mobileyarn build:testingyarn start:web:testing./gradlew assembleDebugyarn android:testingyarn ios:testingyarn build-storybookyarn storybooke2edans Github après chaque tentativeyarn trigger:testing:deployIl est difficile de mettre à jour le AppDelegate.mm. Il faudrait utiliser le ios/AppDelegate.swift à la place.
🔧 Changements majeurs
Some features that are still experimental have been intentionally ignored and therefore not activated. We will see in future versions if these features become more reliable and should be enabled.
Depreciation warnings may have been ignored because no real alternative is yet available. These messages are primarily intended to inform users that RN is working on it.
RN 0.79 :
Lib fix :
RN changes :
pod installis deprecated (a message is displayed) but this is more to inform users that RN is looking to move away from CocoaPods than to actually ask them to switch right now. Ifpod installis required in a project, it's advisable to continue using it for the time being.RN 0.80 :
Lib fix :
Add react-native-worklets lib, It has been separated from Reanimated but remains necessary
Unimplemented component: <RNMapsMapView>TouchableOpacityandTouchableWithoutFeedbackare deprecated and no longer seems to work in testsRN changes :