From d6443b706f9210b4c2e3da436bb9f19a02b0b7fc Mon Sep 17 00:00:00 2001 From: ALC Consulting Date: Thu, 16 Mar 2023 10:07:07 +0100 Subject: [PATCH] =?UTF-8?q?fixup!=20=F0=9F=90=9B(lib-video)=20thumbnail=20?= =?UTF-8?q?not=20reset=20on=20the=20video=20player?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib_video/src/components/common/VideoPlayer/index.spec.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/packages/lib_video/src/components/common/VideoPlayer/index.spec.tsx b/src/frontend/packages/lib_video/src/components/common/VideoPlayer/index.spec.tsx index 1c7abff55c..a64b78d531 100644 --- a/src/frontend/packages/lib_video/src/components/common/VideoPlayer/index.spec.tsx +++ b/src/frontend/packages/lib_video/src/components/common/VideoPlayer/index.spec.tsx @@ -1,6 +1,6 @@ /* eslint-disable testing-library/no-node-access */ /* eslint-disable testing-library/no-container */ -import { screen, waitFor } from '@testing-library/react'; +import { screen, waitFor, act } from '@testing-library/react'; import fetchMock from 'fetch-mock'; import { timedTextMockFactory, @@ -14,7 +14,6 @@ import { } from 'lib-components'; import { render } from 'lib-tests'; import React from 'react'; -import { act } from 'react-dom/test-utils'; import { useVideo } from 'api/useVideos'; import { createPlayer } from 'components/common/Player/createPlayer';