We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f9c89 commit 5921807Copy full SHA for 5921807
src/__tests__/render-hook-sync.test.tsx
@@ -35,7 +35,7 @@ test('works with wrapper option', () => {
35
});
36
37
test('works with initialProps option', () => {
38
- const { result, rerender } = deprecated_renderHookSync(
+ const { result } = deprecated_renderHookSync(
39
(props: { branch: 'left' | 'right' }) => {
40
const [left, setLeft] = React.useState('left');
41
const [right, setRight] = React.useState('right');
0 commit comments