fix: Stop using nullish coalescing#1299
Merged
eps1lon merged 1 commit intotesting-library:mainfrom Apr 11, 2024
Merged
Conversation
|
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 e165e44:
|
MatanBobi
approved these changes
Apr 11, 2024
eps1lon
added a commit
to eps1lon/react-testing-library
that referenced
this pull request
Apr 11, 2024
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 (@​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` ([#​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` ([#​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` ([#​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 ([#​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 ([#​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...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It's not supported by some older bundlers and we don't need to use the syntax to begin with (really). Will backport to 14.x since the latest 14.x was only out for 2 days.