From 191d9f0e05cb48b076d0e607c1f5e2dd64ae844b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Kopycin=CC=81ski?= Date: Thu, 28 Nov 2019 08:23:10 +0100 Subject: [PATCH] update imports --- .../vis/vis_types/vislib_vis_legend/vislib_vis_legend.test.tsx | 2 +- .../kibana_react/public/util/use_shallow_compare_effect.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/vislib_vis_legend.test.tsx b/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/vislib_vis_legend.test.tsx index ba47de73964f6..66acc9e247e63 100644 --- a/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/vislib_vis_legend.test.tsx +++ b/src/legacy/ui/public/vis/vis_types/vislib_vis_legend/vislib_vis_legend.test.tsx @@ -19,7 +19,7 @@ import React from 'react'; import { mount, ReactWrapper } from 'enzyme'; -import { act } from 'react-hooks-testing-library'; +import { act } from '@testing-library/react-hooks'; import { I18nProvider } from '@kbn/i18n/react'; import { EuiButtonGroup } from '@elastic/eui'; diff --git a/src/plugins/kibana_react/public/util/use_shallow_compare_effect.test.ts b/src/plugins/kibana_react/public/util/use_shallow_compare_effect.test.ts index e5d9c44727c3a..810c727fcdb0b 100644 --- a/src/plugins/kibana_react/public/util/use_shallow_compare_effect.test.ts +++ b/src/plugins/kibana_react/public/util/use_shallow_compare_effect.test.ts @@ -17,7 +17,7 @@ * under the License. */ -import { renderHook } from 'react-hooks-testing-library'; +import { renderHook } from '@testing-library/react-hooks'; import { useShallowCompareEffect } from './use_shallow_compare_effect'; describe('useShallowCompareEffect', () => {