chore: bump up @testing-library/react version to v16 (#7133)

[![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/react](https://togithub.com/testing-library/react-testing-library) | [`^15.0.0` -> `^16.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2freact/15.0.7/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2freact/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2freact/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2freact/15.0.7/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2freact/15.0.7/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

### [`v16.0.0`](https://togithub.com/testing-library/react-testing-library/releases/tag/v16.0.0)

[Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v15.0.7...v16.0.0)

##### Features

-   Move `@testing-library/dom` and `@types/react-dom`  to peer dependencies ([#&#8203;1305](https://togithub.com/testing-library/react-testing-library/issues/1305)) ([a4744fa](a4744fa904))

##### BREAKING CHANGES

-   `@testing-library/dom` was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of `@testing-library/dom` installed that frequently caused bugs when used with `@testing-library/user-event`. We will also be able to allow new versions of `@testing-library/dom` being used without a SemVer major release of `@testing-library/react` by just widening the peer dependency.
    `@types/react-dom` needs to be installed if you're typechecking files using `@testing-library/react`.

Co-authored-by: Matan Borenkraout <matanbobi@gmail.com>

</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/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
This commit is contained in:
renovate
2024-06-09 12:53:40 +00:00
parent ef01b6255e
commit 36dcbc1ef7
5 changed files with 18 additions and 32 deletions

View File

@@ -257,7 +257,7 @@ __metadata:
"@storybook/react-vite": "npm:^7.6.17"
"@storybook/test-runner": "npm:^0.18.0"
"@storybook/testing-library": "npm:^0.2.2"
"@testing-library/react": "npm:^15.0.0"
"@testing-library/react": "npm:^16.0.0"
"@toeverything/theme": "npm:^0.7.29"
"@types/bytes": "npm:^3.1.4"
"@types/react": "npm:^18.2.75"
@@ -350,7 +350,7 @@ __metadata:
"@sentry/react": "npm:^8.0.0"
"@sentry/webpack-plugin": "npm:^2.16.1"
"@swc/core": "npm:^1.4.13"
"@testing-library/react": "npm:^15.0.0"
"@testing-library/react": "npm:^16.0.0"
"@toeverything/theme": "npm:^0.7.29"
"@types/animejs": "npm:^3.1.12"
"@types/bytes": "npm:^3.1.4"
@@ -569,7 +569,7 @@ __metadata:
"@nx/vite": "npm:19.1.0"
"@playwright/test": "npm:^1.44.0"
"@taplo/cli": "npm:^0.7.0"
"@testing-library/react": "npm:^15.0.0"
"@testing-library/react": "npm:^16.0.0"
"@toeverything/infra": "workspace:*"
"@types/affine__env": "workspace:*"
"@types/eslint": "npm:^8.56.7"
@@ -13793,22 +13793,6 @@ __metadata:
languageName: node
linkType: hard
"@testing-library/dom@npm:^10.0.0":
version: 10.1.0
resolution: "@testing-library/dom@npm:10.1.0"
dependencies:
"@babel/code-frame": "npm:^7.10.4"
"@babel/runtime": "npm:^7.12.5"
"@types/aria-query": "npm:^5.0.1"
aria-query: "npm:5.3.0"
chalk: "npm:^4.1.0"
dom-accessibility-api: "npm:^0.5.9"
lz-string: "npm:^1.5.0"
pretty-format: "npm:^27.0.2"
checksum: 10/6d6ef942deedf547180c76d4cc2c43fe8e52a98ef68be6ba7382a43d3b1e1e5696d9c32ae0b2df12c92ea50023187d132ad2542fc118ba4b900f149e97d019e0
languageName: node
linkType: hard
"@testing-library/dom@npm:^9.0.0":
version: 9.3.4
resolution: "@testing-library/dom@npm:9.3.4"
@@ -13858,21 +13842,23 @@ __metadata:
languageName: node
linkType: hard
"@testing-library/react@npm:^15.0.0":
version: 15.0.7
resolution: "@testing-library/react@npm:15.0.7"
"@testing-library/react@npm:^16.0.0":
version: 16.0.0
resolution: "@testing-library/react@npm:16.0.0"
dependencies:
"@babel/runtime": "npm:^7.12.5"
"@testing-library/dom": "npm:^10.0.0"
"@types/react-dom": "npm:^18.0.0"
peerDependencies:
"@testing-library/dom": ^10.0.0
"@types/react": ^18.0.0
"@types/react-dom": ^18.0.0
react: ^18.0.0
react-dom: ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 10/a9342ad09b019b0f99688fb50265899bc93adfe23c22aa6743fd920635b43fdc66877e66d95f240923aa6f7d3aa360837f5b053fb363a31975788974dff7bc93
"@types/react-dom":
optional: true
checksum: 10/b32894be94e31276138decfa6bcea69dfebc0c37cf91499ff6c878f41eb1154a43a7df6eb1e72e7bede78468af6cb67ca59e4acd3206b41f3ecdae2c6efdf67e
languageName: node
linkType: hard
@@ -13899,7 +13885,7 @@ __metadata:
"@blocksuite/presets": "npm:0.15.0-canary-202406071542-063825f"
"@blocksuite/store": "npm:0.15.0-canary-202406071542-063825f"
"@datastructures-js/binary-search-tree": "npm:^5.3.2"
"@testing-library/react": "npm:^15.0.0"
"@testing-library/react": "npm:^16.0.0"
async-call-rpc: "npm:^6.4.0"
foxact: "npm:^0.2.33"
jotai: "npm:^2.8.0"
@@ -14838,7 +14824,7 @@ __metadata:
languageName: node
linkType: hard
"@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.2.24":
"@types/react-dom@npm:^18.2.24":
version: 18.3.0
resolution: "@types/react-dom@npm:18.3.0"
dependencies:
@@ -16455,7 +16441,7 @@ __metadata:
languageName: node
linkType: hard
"aria-query@npm:5.3.0, aria-query@npm:^5.0.0":
"aria-query@npm:^5.0.0":
version: 5.3.0
resolution: "aria-query@npm:5.3.0"
dependencies: