Closed
Description
@testing-library/react
version: 15.0.3- Testing Framework and version: jest@29
- DOM Environment: jsdom
Relevant code or config:
import { renderHook } from '@testing-library/react';
renderHook(() => null, { wrapper: () => null });
What you did:
Trying to use a wrapper on renderHook
.
What happened:

Reproduction:
https://stackblitz.com/edit/rtl-template-emaqfx?file=src%2FApp.test.tsx
Problem description:
Only initialProps
is available when using renderHook
Suggested solution:
🤷
Metadata
Metadata
Assignees
Labels
No labels