Skip to content

fix(tests): mock node:zlib - #2761

Merged
thymikee merged 4 commits into
react-native-community:mainfrom
azizbecha:fix/bump-body-parser
Feb 8, 2026
Merged

fix(tests): mock node:zlib#2761
thymikee merged 4 commits into
react-native-community:mainfrom
azizbecha:fix/bump-body-parser

Conversation

@azizbecha

Copy link
Copy Markdown
Collaborator

Summary

Added resolver is jest config file to fix error ENOENT: no such file or directory, open node:zlib.

Test Plan

Running yarn build && yarn test passes successfully.

Checklist

  • Documentation is up to date.
  • Follows commit message convention described in CONTRIBUTING.md.
  • For functional changes, my test plan has linked these CLI changes into a local react-native checkout (instructions).

@azizbecha

Copy link
Copy Markdown
CollaboratorAuthor

This should close #2740 and #2750 since we upgraded body-parser.

Comment threadpackages/cli-doctor/src/tools/healthchecks/androidStudio.ts
Comment threadjest/setupUnitTests.js
@thymikeethymikee changed the title fix: add jest resolver to fix unit testsfix(tests): mock node:zlibFeb 8, 2026
@thymikee
thymikee merged commit 555b834 into react-native-community:mainFeb 8, 2026
8 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@azizbecha@thymikee@kundan175