Upgrade RN, fix tests for render-html #15
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upgrades and unifies main dependencies after moving
react-native-render-htmlin #14.Description
React Native
React Native and related packages are upgraded to RN 0.82, React 19.1.1. Among required typing fixes, main change is to handle style properties added since the previously used RN version by defining a list of exceptions (somewhat similar to 45d1537). This does not change render results, only affects type checks.
Includes some corrections for minor dependency issues:
microtimeupgrade (inpackages/performance-testing) to fix build errorsTests
Jest configuration is also fixed to allow tests to run. Due to changes between React versions, this required migrating to the newest React Native Testing Library and patching
react-native-accessibility-engine.There are some further steps to finish updating tests that were left out of this PR to keep it reasonably small:
toBeAccessiblematcher@testing-library/jest-native— see https://callstack.github.io/react-native-testing-library/docs/migration/jest-matchersreact-test-renderer