Skip to content

Conversation

@ernestostifano
Copy link
Contributor

@ernestostifano ernestostifano commented Aug 1, 2025

What:

Why:

  • Jest v30 is now released as a stable version and @emotion/jest works perfectly with it (tested in a heavy/complex project).
  • Upgrading to Jest v30 triggers unmet peer dependencies warnings (errors in strict yarn configurations).
  • The issue is with @types/jest in @emotion/jest peer dependencies. @types/jest v30 is required for Jest v30 and users using newer versions of TypeScript.

How:

  • Just added ^30.0.0 to @types/jest in @emotion/jest peer dependencies.
  • No further changes are needed. @types/jest remains ^29.5.12 in dev dependencies due to project's TypeScript version.

Checklist:

  • Documentation N/A
  • Tests N/A
  • Code complete N/A
  • Changeset

@changeset-bot
Copy link

changeset-bot bot commented Aug 1, 2025

🦋 Changeset detected

Latest commit: fa825db

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@emotion/jest Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 1, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@ernestostifano
Copy link
Contributor Author

Hi @emmatown, hope you are doing fine. Do you think we can merge this? Please let me know if I can help.

@krzysiek1507
Copy link

Hey! Any updates on this?

@Lelith
Copy link

Lelith commented Oct 2, 2025

I'm also waiting on this, is there anything that's blocking here? Any support needed?

@ernestostifano
Copy link
Contributor Author

Hello @Andarist, @srmagura, @Ailrun, @emmatown. Friendly reminder of this PR. What can we do to merge it? Thanks

@Andarist Andarist changed the title Add @types/jest 30 to @emotion/jest peer dependencies Allow @types/[email protected] as an optional peer dependency for @emotion/jest Nov 4, 2025
@Andarist Andarist merged commit bac2865 into emotion-js:main Nov 4, 2025
7 of 9 checks passed
@github-actions github-actions bot mentioned this pull request Nov 4, 2025
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.

Update @emotion/jest peer dependencies to support jest ^30.0.0

4 participants