Skip to content

Fix publish-npm test mocks isolation - #54479

Closed
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D86674348
Closed

Fix publish-npm test mocks isolation#54479
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D86674348

Conversation

@huntie

@huntie huntie commented Nov 10, 2025

Copy link
Copy Markdown
Member

Summary:
Fixes failing CI jobs on 0.83-stable, e.g. https://github.com/facebook/react-native/actions/runs/19234912061/job/54982161510.

Changes

  • Simplify main package package.json file read with existing getWorkspaceRoot util.
  • Fix test by mocking getWorkspaceRoot (previously: read the real filesystem and caused test breakage outside main).
  • Add additional RC0 → RC1 test case.

Changelog: [Internal]

Differential Revision: D86674348

Summary:
Fixes failing CI jobs on `0.83-stable`, e.g. https://github.com/facebook/react-native/actions/runs/19234912061/job/54982161510.

**Changes**

- Simplify main package `package.json` file read with existing `getWorkspaceRoot` util.
- Fix test by mocking `getWorkspaceRoot` (previously: read the real filesystem and caused test breakage outside `main`).
- Add additional `RC0 → RC1` test case.

Changelog: [Internal]

Differential Revision: D86674348
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 10, 2025
@meta-codesync

meta-codesync Bot commented Nov 10, 2025

Copy link
Copy Markdown

@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D86674348.

@meta-codesync

meta-codesync Bot commented Nov 10, 2025

Copy link
Copy Markdown

This pull request has been merged in ee7575f.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @huntie in ee7575f

When will my fix make it into a release? | How to file a pick request?

react-native-bot pushed a commit that referenced this pull request Nov 10, 2025
Summary:
Pull Request resolved: #54479

Fixes failing CI jobs on `0.83-stable`, e.g. https://github.com/facebook/react-native/actions/runs/19234912061/job/54982161510.

**Changes**

- Simplify main package `package.json` file read with existing `getWorkspaceRoot` util.
- Fix test by mocking `getWorkspaceRoot` (previously: read the real filesystem and caused test breakage outside `main`).
- Add additional `RC0 → RC1` test case.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D86674348

fbshipit-source-id: 0b8feb4cbf7b1ac7cf4cc560f066a0a10aec1b5f
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @huntie in 8573650

When will my fix make it into a release? | How to file a pick request?

@huntie
huntie deleted the export-D86674348 branch November 10, 2025 17:57
douglowder pushed a commit to react-native-tvos/react-native-tvos that referenced this pull request Nov 15, 2025
Summary:
Pull Request resolved: react/react-native#54479

Fixes failing CI jobs on `0.83-stable`, e.g. https://github.com/facebook/react-native/actions/runs/19234912061/job/54982161510.

**Changes**

- Simplify main package `package.json` file read with existing `getWorkspaceRoot` util.
- Fix test by mocking `getWorkspaceRoot` (previously: read the real filesystem and caused test breakage outside `main`).
- Add additional `RC0 → RC1` test case.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D86674348

fbshipit-source-id: 0b8feb4cbf7b1ac7cf4cc560f066a0a10aec1b5f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants