Skip to content

docs: update transformIgnorePatterns example for React Native - #15560

Merged
cpojer merged 1 commit into
jestjs:mainfrom
charpeni:update-react-native-transform-ignore-patterns
May 22, 2025
Merged

docs: update transformIgnorePatterns example for React Native#15560
cpojer merged 1 commit into
jestjs:mainfrom
charpeni:update-react-native-transform-ignore-patterns

Conversation

@charpeni

@charpeni charpeni commented Apr 3, 2025

Copy link
Copy Markdown
Contributor

Summary

Since then, React Native introduced a new scope for packages: @react-native, let's make sure to include it in the example to avoid issues.

I also took the liberty to remove react-native-button from the example, because this is not a package that is used anymore, but also because most people were copy-pasting this example without changing anything out of it. See search on GitHub for that string: https://github.com/search?q=node_modules%2F%28%3F%21%28react-native%7Cmy-project%7Creact-native-button%29%2F%29&type=code. I thought it could be confusing to read and it seems to imply that it needs to be there.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Apr 3, 2025

Copy link
Copy Markdown

CLA Signed


The committers listed above are authorized under a signed CLA.

@netlify

netlify Bot commented Apr 3, 2025

Copy link
Copy Markdown

Deploy Preview for jestjs failed.

Built without sensitive environment variables

Name Link
🔨 Latest commit 101175a
🔍 Latest deploy log https://app.netlify.com/sites/jestjs/deploys/67eed0510bdcd40008731ddd

@cpojer
cpojer merged commit 46964d4 into jestjs:main May 22, 2025
@cpojer

cpojer commented May 22, 2025

Copy link
Copy Markdown
Member

Cool, thanks.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants