Packages

@testing-library/dom

10.4.2 · 13 Sep 2026MIT125.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @testing-library/dom From 6.16.0 to 7.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.16.0Latest10.4.2
  1. 6.16.0yours
  2. 7.0.0target
1
change to make
0
advisories fixed
2
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0

Release by release

  1. 7.0.0

    Migration needed12 Mar 20202 new
    • Breaking

      ByLabelText: If you used the selector option in ByLabelText queries, then you will probably need to update that code to be able to find the label you're looking for:

    • New

      waitFor: replace wait with waitFor (read more in the Breaking changes list below) (2b641e1), closes #376 #416

    • New

      waitForElementToBeRemoved: support passing an element directly

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.