Snapshots excessively large or failing with Invalid string length
#6645
Labels
Platform: Android
This issue is specific to Android
Platform: iOS
This issue is specific to iOS
Platform: Web
This issue is specific to web
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
Since Reanimated v3.16.0, snapshots using
@testing-library/react-native
have been breaking. In some cases, the snapshot size has increased drastically, going from less than 1 KB to over 250 MB. In other cases, snapshots fail to generate, throwing anInvalid string length
error.v3.15.5
v3.16.1
Steps to reproduce
npm run test
Snack or a link to a repository
https://github.com/BrianValente/reanimated-jest-snapshot-issue-demo
Reanimated version
3.6.1
React Native version
0.74.5
Platforms
Android, iOS, macOS, Web
JavaScript runtime
Hermes
Workflow
Expo Dev Client
Architecture
Paper (Old Architecture)
Build type
Other (please specify)
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: