jest-dom v7.0.0

v7.0.0
Added 1
  • add toContainAnyBy* and toContainOneBy* query matchers
Changed 2
  • @testing-library/dom is now a required peer dependency
  • The minimum supported Node.js version is now 22

From jest-dom

7.0.0 (2026-07-20)

Features
  • add toContainAnyBy* and toContainOneBy* query matchers (1e39089)
BREAKING CHANGES
  • @testing-library/dom is now a required peer dependency. The minimum supported Node.js version is now 22.

Repaired release for https://github.com/testing-library/jest-dom/pull/731

View original

Upgraded? How did it go?

Discussion