npm / eslint-plugin-jest-dom
eslint-plugin-jest-dom
What changed in eslint-plugin-jest-dom 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
3 new APIs and options2 behavior and defaults1 tooling6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initeslint-plugin-jest-dom 512 changes
New APIs and options 3
Mixed value assertions can now be replaced with this matcher.
Mixed value assertions can now be replaced with this matcher.
Adds the prefer-pressed rule to eslint-plugin-jest-dom.
Behavior and default changes 2
The prefer-in-document rule now supports toBeNil and toBeNullable.
The rule supports aria-valuenow, allowing it to recommend the preferred value assertion for that attribute.
Tooling 1
The plugin now supports ESLint v10.
Fixes and other changes 6
The rule now reports on identifiers.
The prefer-class rule now supports toBeTrue and toBeFalse.
The prefer-empty rule no longer fixes a matcher when it has no argument.
Negated messages for banned attribute based rules now include the actual arguments.
No longer flags aria-checked="mixed".
Its fixer now always passes strings.