Skip to content

Remove jest from "types" in @react-native/typescript-config#53855

Open
kraenhansen wants to merge 1 commit into
react:mainfrom
kraenhansen:kh/move-jest-types-to-template
Open

Remove jest from "types" in @react-native/typescript-config#53855
kraenhansen wants to merge 1 commit into
react:mainfrom
kraenhansen:kh/move-jest-types-to-template

Conversation

@kraenhansen

Copy link
Copy Markdown
Contributor

Summary:

See #53563 for more context.

Drafted to wait for react-native-community/template#177 to merge and release.

Changelog:

[GENERAL] [REMOVED] - Remove explicit use of jest types in tsconfig.json: Apps should declare this themselves.

Test Plan:

  1. Initialize the template npx @react-native-community/cli@latest init TestApp (once Add explicit use of jest types in tsconfig.json react-native-community/template#177 is merged and released)
  2. Patch node_modules/@react-native/typescript-config/tsconfig.json with this suggested change.
  3. Note how this doesn't affect the ability to use describe in source files.

@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 Sep 19, 2025
@cortinico cortinico requested a review from robhogan September 19, 2025 15:37
@robhogan

Copy link
Copy Markdown
Contributor

This is the right move in principle but I think it should be labelled semver breaking - if users update to this without making the required change, their projects won't typecheck IIUC (which could break their CI, etc).

@cortinico where do we stand on that at the moment?

@cortinico

Copy link
Copy Markdown
Contributor

@cortinico where do we stand on that at the moment?

Sorry I missed this one. This can go as is right now because we're allowing any breaking change at the moment

@kraenhansen kraenhansen marked this pull request as ready for review December 12, 2025 12:27
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Dec 12, 2025
@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@react-native-bot react-native-bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jun 13, 2026
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. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. Stale There has been a lack of activity on this issue and it may be closed soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants