Skip to content

fix: Improve legacyRoot error message#1301

Merged
eps1lon merged 2 commits intotesting-library:mainfrom
eps1lon:better-upgrade-warning
Apr 13, 2024
Merged

fix: Improve legacyRoot error message#1301
eps1lon merged 2 commits intotesting-library:mainfrom
eps1lon:better-upgrade-warning

Conversation

@eps1lon
Copy link
Member

@eps1lon eps1lon commented Apr 11, 2024

Applies suggestions by @wojtekmaj from #1294 (comment)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 11, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 93359e4:

Sandbox Source
react-testing-library-examples Configuration

Some UIs automatically linkify the link. However, a trailing `.` is included in the link.
This ensures the link is separated by whitespace.
@eps1lon eps1lon merged commit c63b873 into testing-library:main Apr 13, 2024
@eps1lon eps1lon deleted the better-upgrade-warning branch April 13, 2024 09:21
izzieSD pushed a commit to Izzie132/legit that referenced this pull request Feb 19, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@testing-library/react](https://github.com/testing-library/react-testing-library) | devDependencies | major | [`^14.1.2` -> `^15.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2freact/14.2.1/15.0.5) |

---

### Release Notes

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

### [`v15.0.5`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.5)

[Compare Source](testing-library/react-testing-library@v15.0.4...v15.0.5)

##### Bug Fixes

-   Stop restricting `container` option based on `hydrate` ([#&#8203;1313](testing-library/react-testing-library#1313)) ([d143f46](testing-library/react-testing-library@d143f46))

### [`v15.0.4`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.4)

[Compare Source](testing-library/react-testing-library@v15.0.3...v15.0.4)

##### Bug Fixes

-   Ensure `renderHook` options extend options for `render` ([#&#8203;1308](testing-library/react-testing-library#1308)) ([48282c2](testing-library/react-testing-library@48282c2))

### [`v15.0.3`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.3)

[Compare Source](testing-library/react-testing-library@v15.0.2...v15.0.3)

##### Bug Fixes

-   Don't raise TypeScript errors when hydating `document` ([#&#8203;1304](testing-library/react-testing-library#1304)) ([067d0c6](testing-library/react-testing-library@067d0c6))

### [`v15.0.2`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.2)

[Compare Source](testing-library/react-testing-library@v15.0.1...v15.0.2)

##### Bug Fixes

-   Improve `legacyRoot` error message ([#&#8203;1301](testing-library/react-testing-library#1301)) ([c63b873](testing-library/react-testing-library@c63b873))

### [`v15.0.1`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.1)

[Compare Source](testing-library/react-testing-library@v15.0.0...v15.0.1)

##### Bug Fixes

-   Stop using nullish coalescing ([#&#8203;1299](testing-library/react-testing-library#1299)) ([1645d21](testing-library/react-testing-library@1645d21))

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

[Compare Source](testing-library/react-testing-library@v14.3.1...v15.0.0)

##### Relea...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants