From efd537dacc6e428529ed0acd3fe8e6d580eb2413 Mon Sep 17 00:00:00 2001 From: Eyo Okon Eyo Date: Thu, 21 Nov 2024 13:40:43 +0100 Subject: [PATCH] [React18] Migrated test suites to accommodate changes to testing library owned by obs-ux-logs-team,obs-ux-onboarding-team --- .../auto_detect/use_auto_detect_telemetry.test.ts | 2 +- .../public/hooks/use_flow_progress_telemetry.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts index d296e598c9e11..f77db3b8aad3d 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts +++ b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { useKibana } from '@kbn/kibana-react-plugin/public'; import { useAutoDetectTelemetry } from './use_auto_detect_telemetry'; import { ObservabilityOnboardingFlowStatus } from './get_onboarding_status'; diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx b/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx index aede0d27bd4ef..45ca17d878991 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx +++ b/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { useFlowProgressTelemetry } from './use_flow_progress_telemetry'; import { useKibana } from './use_kibana';