Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate away from
@testing-library/react-hooks
(#10415)
* chore: use patch-package to port renderHook to RTL v12 * chore: remove @testing-library/react-hooks dev dependency * fix: update useFragment.test.tsx renderHook import * fix: update useMutation.test.tsx * fix: update useSubscription.test.tsx * fix: update useLazyQuery.test.tsx * fix: run mockSubscriptionLink, Mutation, ssr/server, and Subscription tests in React 18 * fix: run useReactiveVar test in React 18 * wip: useQuery * fix: update useQuery.test.tsx * fix: un-skip test in useMutation.test.tsx * fix: comment out RenderResult import until remaining two tests are fixed * fix(review): remove unused updates variable from useQuery test * fix(review): return value inside waitFor, fix whitespace * fix(review): use wait and tick utils * fix(review): fix remaining test in useLazyQuery.test.tsx * fix(review): fix failing test in useQuery.test.tsx * fix(review): refactor two last tests in useQuery.test.tsx
- Loading branch information