testing-library / react-testing-library

🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
https://testing-library.com/react
MIT License
18.84k stars 1.09k forks source link

fix: Stop using nullish coalescing #1299

Closed eps1lon closed 3 months ago

eps1lon commented 3 months ago

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.

codesandbox-ci[bot] commented 3 months ago

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

Sandbox Source
react-testing-library-examples Configuration