Skip to content

Conversation

@j-piasecki
Copy link
Member

Description

Moves jestUtils to a separate package so it's not bundled when not actually used. This caused problems with testing-library, namely one of its dependencies - ansi-styles. It uses named capture groups in regex which is unsupported on Hermes.

Fixes #1913.

Test plan

Run a new app in release configuration with and without testing-library installed.

@j-piasecki j-piasecki requested a review from jgonet March 7, 2022 11:54
Copy link
Member

@jgonet jgonet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@j-piasecki j-piasecki merged commit 1f4d13a into main Mar 14, 2022
@j-piasecki j-piasecki deleted the @jpiasecki/fix-testing-library-bundling branch March 14, 2022 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2.3.0] Cannot build on android

3 participants