Skip to content

Unpin Metro 0.83.2 from E2E tests #5237

@antonis

Description

@antonis

Metro has been pinned to 0.83.2 for E2E tests with #5234
This was needed to handle a CI error (example CI failure) that was introduced with Metro 0.83.3

TypeError: configs.toReversed is not a function                                                                                                                                                                                                 at mergeConfig (/home/runner/work/sentry-react-native/sentry-react-native/dev-packages/e2e-tests/react-native-versions/0.81.0/RnDiffApp/node_modules/metro-config/src/loadConfig.js:179:35)  

The failure seems not to be related to our code but to the fact that older node versions do not support this method.

We should revisit this and unpin the metro version when a new version with a fix comes up, open a Metro PR fixing this, or investigate another solution like polyfilling the missing method.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions