From ba89cf287019bce7c777cce359b0db60f6965797 Mon Sep 17 00:00:00 2001 From: danetsao Date: Mon, 2 Oct 2023 15:51:18 -0500 Subject: [PATCH] Updated 'renderHook' path after removeing '@testing-library/react-hooks' --- src/api/mutators/useAutomaticSchedulerMutation.test.tsx | 3 +-- src/api/mutators/useManualSchedulerMutation.test.tsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/api/mutators/useAutomaticSchedulerMutation.test.tsx b/src/api/mutators/useAutomaticSchedulerMutation.test.tsx index 7144dc6a..14074c87 100644 --- a/src/api/mutators/useAutomaticSchedulerMutation.test.tsx +++ b/src/api/mutators/useAutomaticSchedulerMutation.test.tsx @@ -1,6 +1,5 @@ import { CalloutContext } from '@folio/stripes/core'; -import { waitFor } from '@testing-library/react'; -import { act, renderHook } from '@testing-library/react-hooks'; +import { waitFor, act, renderHook } from '@testing-library/react'; import React, { ReactNode } from 'react'; import { QueryClient, QueryClientProvider } from 'react-query'; import useAutomaticSchedulerMutation from './useAutomaticSchedulerMutation'; diff --git a/src/api/mutators/useManualSchedulerMutation.test.tsx b/src/api/mutators/useManualSchedulerMutation.test.tsx index 15ef9040..38f5842b 100644 --- a/src/api/mutators/useManualSchedulerMutation.test.tsx +++ b/src/api/mutators/useManualSchedulerMutation.test.tsx @@ -1,6 +1,5 @@ import { CalloutContext } from '@folio/stripes/core'; -import { waitFor } from '@testing-library/react'; -import { act, renderHook } from '@testing-library/react-hooks'; +import { waitFor, act, renderHook } from '@testing-library/react'; import React, { ReactNode } from 'react'; import { QueryClient, QueryClientProvider } from 'react-query'; import useManualSchedulerMutation from './useManualSchedulerMutation';