Skip to content

Commit 5ba583b

Browse files
committed
Actually using options forwardRef when testing against React-18.
1 parent a978553 commit 5ba583b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/components/connect.spec.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2602,7 +2602,9 @@ describe('React', () => {
26022602
RefReceiverNoDispatchType,
26032603
RefReceiverPropsType,
26042604
RootStateType
2605-
>(null, null)
2605+
>(null, null, null, {
2606+
forwardRef: IS_REACT_18
2607+
})
26062608
const DecoratedRefReceiver = decorator(RefReceiver)
26072609
const testRef = React.createRef<HTMLSpanElement>()
26082610
rtl.render(

0 commit comments

Comments
 (0)