Update dependency @testing-library/jest-dom to v6
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@testing-library/jest-dom | dependencies | major | ^5.16.0 -> ^6.0.0 |
Release Notes
testing-library/jest-dom (@testing-library/jest-dom)
v6.1.4
Bug Fixes
v6.1.3
Bug Fixes
- proper @jest/globals import (#530) (5b492ac)
v6.1.2
Bug Fixes
- bump @adobe/css-tools for ESM support (#525) (b959a68)
v6.1.1
Bug Fixes
v6.1.0
Features
- Publish ESM and CJS (https://github.com/testing-library/jest-dom/pull/519)
v6.0.1
Bug Fixes
v6.0.0
Features
- local types, supporting jest, @jest/globals, vitest (#511) (4b764b9)
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
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.