Update dependency @testing-library/jest-dom to v6 (#601)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/jest-dom](https://togithub.com/testing-library/jest-dom)
| [`^5.16.5` ->
`^6.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/5.17.0/6.4.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2fjest-dom/6.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2fjest-dom/6.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2fjest-dom/5.17.0/6.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2fjest-dom/5.17.0/6.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>testing-library/jest-dom
(@&#8203;testing-library/jest-dom)</summary>

###
[`v6.4.2`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.4.2)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.4.1...v6.4.2)

##### Bug Fixes

- Remove errant export of GetByRoleMatcher, fixing type checking in some
TS configurations
([#&#8203;575](https://togithub.com/testing-library/jest-dom/issues/575))
([a93c0c4](a93c0c4a20))

###
[`v6.4.1`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.4.1)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.4.0...v6.4.1)

##### Bug Fixes

- Export type `TestingLibraryMatchers` from "./matchers"
([#&#8203;576](https://togithub.com/testing-library/jest-dom/issues/576))
([dd1c4dd](dd1c4dd504))

###
[`v6.4.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.4.0)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.3.0...v6.4.0)

##### Features

- Add toHaveRole matcher
([#&#8203;572](https://togithub.com/testing-library/jest-dom/issues/572))
([f7dc673](f7dc673dbc))

###
[`v6.3.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.3.0)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.2.1...v6.3.0)

##### Features

- Support for regular expressions in toHaveClass
([#&#8203;563](https://togithub.com/testing-library/jest-dom/issues/563))
([9787ed5](9787ed59fc))

###
[`v6.2.1`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.2.1)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.2.0...v6.2.1)

##### Bug Fixes

- Standalone types for "./matchers" export and add Bun support
([#&#8203;566](https://togithub.com/testing-library/jest-dom/issues/566))
([5675b86](5675b8668c))

###
[`v6.2.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.2.0)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.1.6...v6.2.0)

##### Features

- toHaveAccessibleDescription supports aria-description
([#&#8203;565](https://togithub.com/testing-library/jest-dom/issues/565))
([1fb156c](1fb156c2b5))

###
[`v6.1.6`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.1.6)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.1.5...v6.1.6)

##### Bug Fixes

- Upgrade
[@&#8203;adobe/css-tools](https://togithub.com/adobe/css-tools) to
v4.3.2
([#&#8203;553](https://togithub.com/testing-library/jest-dom/issues/553))
([b64b953](b64b953f76))

###
[`v6.1.5`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.1.5)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.1.4...v6.1.5)

##### Bug Fixes

- support uppercase custom props in toHaveStyle
([#&#8203;552](https://togithub.com/testing-library/jest-dom/issues/552))
([b7b7c6a](b7b7c6a965))

###
[`v6.1.4`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.1.4)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.1.3...v6.1.4)

##### Bug Fixes

- upgrade `@adobe/css-tools` to `4.3.1` to address vulnerability
([#&#8203;532](https://togithub.com/testing-library/jest-dom/issues/532))
([44f1eab](44f1eabc79))

###
[`v6.1.3`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.1.3)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.1.2...v6.1.3)

##### Bug Fixes

- proper [@&#8203;jest/globals](https://togithub.com/jest/globals)
import
([#&#8203;530](https://togithub.com/testing-library/jest-dom/issues/530))
([5b492ac](5b492ace23))

###
[`v6.1.2`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.1.2)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.1.1...v6.1.2)

##### Bug Fixes

- bump [@&#8203;adobe/css-tools](https://togithub.com/adobe/css-tools)
for ESM support
([#&#8203;525](https://togithub.com/testing-library/jest-dom/issues/525))
([b959a68](b959a68138))

###
[`v6.1.1`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.1.1)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.1.0...v6.1.1)

##### Bug Fixes

- **package.json:** update main and module file paths
([#&#8203;523](https://togithub.com/testing-library/jest-dom/issues/523))
([853a3e5](853a3e51ba))

###
[`v6.1.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.1.0)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.0.1...v6.1.0)

##### Features

- Publish ESM and CJS
([https://github.com/testing-library/jest-dom/pull/519](https://togithub.com/testing-library/jest-dom/pull/519))

###
[`v6.0.1`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.0.1)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.0.0...v6.0.1)

##### Bug Fixes

- matchers type is making the global expect unsafe
([#&#8203;513](https://togithub.com/testing-library/jest-dom/issues/513))
([bdb34f1](bdb34f1295))

###
[`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,
[@&#8203;jest/globals](https://togithub.com/jest/globals), vitest
([#&#8203;511](https://togithub.com/testing-library/jest-dom/issues/511))
([4b764b9](4b764b9f6a))

##### 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:

-
[@&#8203;testing-library/jest-dom](https://togithub.com/testing-library/jest-dom)
- jest ([@&#8203;types/jest](https://togithub.com/types/jest))
- @&#8203;testing-library/jest-dom/jest-globals -
[@&#8203;jest/globals](https://togithub.com/jest/globals)
-   @&#8203;testing-library/jest-dom/vitest - vitest

For example:

import '@&#8203;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 '@&#8203;testing-library/jest-dom/matchers'

-   Update kcd-scripts
-   Drop node < 14

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
This commit is contained in:
Corwin 2024-04-04 22:54:34 +00:00 committed by GitHub
commit 549c90b746
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8161 additions and 1662 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
"homepage": "./", "homepage": "./",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@testing-library/jest-dom": "^5.16.5", "@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0", "@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3", "@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.2", "@types/jest": "^29.5.2",