react-styleguidist icon indicating copy to clipboard operation
react-styleguidist copied to clipboard

chore: upgrade Jest from v26 to v30

Open ram-ui-dev opened this issue 2 weeks ago • 0 comments

Summary

Upgrades Jest from v26 to v30 to prepare for future dependency updates.

Changes

  • Upgrade jest from ^26.6.0 to ^30.0.0
  • Upgrade babel-jest from ^26.6.0 to ^30.0.0
  • Upgrade @types/jest from ^26.0.14 to ^30.0.0
  • Add jest-environment-jsdom ^30.0.0 (no longer bundled with Jest 27+)
  • Update Jest config: testURLtestEnvironment + testEnvironmentOptions (Jest 28+ requirement)
  • Update deprecated Jest matchers across all test files:
    • toBeCalledWithtoHaveBeenCalledWith
    • toBeCalledtoHaveBeenCalled
    • toBeCalledTimestoHaveBeenCalledTimes
    • toThrowErrortoThrow
  • Update 75 snapshots for Jest 30 formatting changes

Testing

  • ✅ All 607 tests passing (17 skipped)
  • ✅ All 197 snapshots passing
  • ✅ Lint and TypeScript checks passing

ram-ui-dev avatar Nov 23 '25 16:11 ram-ui-dev