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: Ensure `renderHook` options extend options for `render` #1308

Closed eps1lon closed 2 months ago

eps1lon commented 2 months ago

Fixes https://github.com/testing-library/react-testing-library/issues/1307

codesandbox-ci[bot] commented 2 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 6260345e11ca15732dbf3fc175a2da132c815297:

Sandbox Source
react-testing-library-examples Configuration