[Snyk] Upgrade @testing-library/jest-dom from 5.17.0 to 6.0.0
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade @testing-library/jest-dom from 5.17.0 to 6.0.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
- The recommended version is 1 version ahead of your current version.
- The recommended version was released 22 days ago, on 2023-08-13.
Release notes
Package name: @testing-library/jest-dom
-
6.0.0 - 2023-08-13
6.0.0 (2023-08-13)
Features
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 - jest (@ types/jest)
- @ testing-library/jest-dom/jest-globals - @ 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
- Removes the extend-expect script. Users should use
-
5.17.0 - 2023-07-18
5.17.0 (2023-07-18)
Features
Commit messages
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🔕 Ignore this dependency or unsubscribe from future upgrade PRs