Packages

@testing-library/jest-dom

8.0.0 · 19 Nov 2026MIT104.4M / weekRepositoryHomepagenpmAtom feed

Upgrading @testing-library/jest-dom From 5.17.0 to 6.0.0

1 release in betweenevery note read

Other targets from 5.17.0Latest8.0.0
  1. 5.17.0yours
  2. 6.0.0target
6
changes to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0

Release by release

  1. 6.0.0

    Migration needed13 Aug 20231 new
    • Breaking

      Removes the extend-expect script. Users should use the default import path or one of the new test platform-specific paths to automatically extend the appropriate "expect" instance.

    • Breaking

      @testing-library/jest-dom - jest (@types/jest)

    • Breaking

      @testing-library/jest-dom/jest-globals - @jest/globals

    • Breaking

      @testing-library/jest-dom/vitest - vitest

    • Breaking

      Update kcd-scripts

    • Breaking

      Drop node < 14

    • New

      Local types, supporting jest, @jest/globals, vitest

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.