Skip to content

[WIP] Jest 30#2780

Closed
byrichardpowell wants to merge 4 commits intomainfrom
jest-30
Closed

[WIP] Jest 30#2780
byrichardpowell wants to merge 4 commits intomainfrom
jest-30

Conversation

@byrichardpowell
Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

We want to keep dependencies up to date

WHAT is this pull request doing?

Migrates to Jest 30, which means:

  • Update dependency
  • Swap toThrowError for toThrow
  • Swap toBeCalled for toHaveBeenCalled
  • Swap toBeCalledWith for toHaveBeenCalledWith

Type of change

N/A - Only affects testing infra

  • Patch: Bug (non-breaking change which fixes an issue)
  • Minor: New feature (non-breaking change which adds functionality)
  • Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

N/A - Only affects testing infra

  • I have used pnpm changeset to create a draft changelog entry (do NOT update the CHANGELOG.md files manually)
  • I have added/updated tests for this change
  • I have documented new APIs/updated the documentation for modified APIs (for public APIs)

@byrichardpowell byrichardpowell requested a review from a team as a code owner September 12, 2025 19:25
@byrichardpowell byrichardpowell force-pushed the jest-30 branch 2 times, most recently from 4f35acc to 503f0c5 Compare September 15, 2025 14:47
@byrichardpowell byrichardpowell changed the title Jest 30 [WIP] Jest 30 Sep 15, 2025
- Swap toThrowError for toThrow
- Swap toBeCalled for toHaveBeenCalled
- Swap toBeCalledWith for toHaveBeenCalledWith
@byrichardpowell
Copy link
Copy Markdown
Contributor Author

Closing since we've made these changes elsewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant