testing-library/jest-dom (@testing-library/jest-dom)
### [`v6.0.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.0.0)
[Compare Source](https://togithub.com/testing-library/jest-dom/compare/v5.17.0...v6.0.0)
##### Features
- local types, supporting jest, [@jest/globals](https://togithub.com/jest/globals), vitest ([#511](https://togithub.com/testing-library/jest-dom/issues/511)) ([4b764b9](https://togithub.com/testing-library/jest-dom/commit/4b764b9f6a7b564d7f8ec0e9b0c6ba9cc875f2b8))
##### BREAKING CHANGES
- 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.
extend-expect was not documented in the Readme, so this change should
have minimal impact.
Users can now use the following import paths to automatically extend
"expect" for their chosen test platform:
- [@testing-library/jest-dom](https://togithub.com/testing-library/jest-dom) - jest ([@types/jest](https://togithub.com/types/jest))
- @testing-library/jest-dom/jest-globals - [@jest/globals](https://togithub.com/jest/globals)
- @testing-library/jest-dom/vitest - vitest
For example:
import '@testing-library/jest-dom/jest-globals'
Importing from one of the above paths will augment the appropriate
matcher interface for the given test platform, assuming the import
is done in a .ts file that is included in the user's tsconfig.json.
It's also (still) possible to import the matchers directly without
side effects:
import \* as matchers from '@testing-library/jest-dom/matchers'
- Update kcd-scripts
- Drop node < 14
### [`v5.17.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v5.17.0)
[Compare Source](https://togithub.com/testing-library/jest-dom/compare/v5.16.5...v5.17.0)
##### Features
- New `toHaveAccessibleErrorMessage` better implementing the spec, deprecate `toHaveErrorMessage` ([#503](https://togithub.com/testing-library/jest-dom/issues/503)) ([d717c66](https://togithub.com/testing-library/jest-dom/commit/d717c66cb4a32c806e53b287418a4013d37898fb))
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^5.16.5
->^6.0.0
Release Notes
testing-library/jest-dom (@testing-library/jest-dom)
### [`v6.0.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.0.0) [Compare Source](https://togithub.com/testing-library/jest-dom/compare/v5.17.0...v6.0.0) ##### Features - local types, supporting jest, [@jest/globals](https://togithub.com/jest/globals), vitest ([#511](https://togithub.com/testing-library/jest-dom/issues/511)) ([4b764b9](https://togithub.com/testing-library/jest-dom/commit/4b764b9f6a7b564d7f8ec0e9b0c6ba9cc875f2b8)) ##### BREAKING CHANGES - 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. extend-expect was not documented in the Readme, so this change should have minimal impact. Users can now use the following import paths to automatically extend "expect" for their chosen test platform: - [@testing-library/jest-dom](https://togithub.com/testing-library/jest-dom) - jest ([@types/jest](https://togithub.com/types/jest)) - @testing-library/jest-dom/jest-globals - [@jest/globals](https://togithub.com/jest/globals) - @testing-library/jest-dom/vitest - vitest For example: import '@testing-library/jest-dom/jest-globals' Importing from one of the above paths will augment the appropriate matcher interface for the given test platform, assuming the import is done in a .ts file that is included in the user's tsconfig.json. It's also (still) possible to import the matchers directly without side effects: import \* as matchers from '@testing-library/jest-dom/matchers' - Update kcd-scripts - Drop node < 14 ### [`v5.17.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v5.17.0) [Compare Source](https://togithub.com/testing-library/jest-dom/compare/v5.16.5...v5.17.0) ##### Features - New `toHaveAccessibleErrorMessage` better implementing the spec, deprecate `toHaveErrorMessage` ([#503](https://togithub.com/testing-library/jest-dom/issues/503)) ([d717c66](https://togithub.com/testing-library/jest-dom/commit/d717c66cb4a32c806e53b287418a4013d37898fb))Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.