From 2c080856d440ef8c9c0368f2190be441742e5de2 Mon Sep 17 00:00:00 2001 From: vitPinchuk Date: Thu, 28 Nov 2024 13:35:21 +0300 Subject: [PATCH] ci tests updated --- .../ElementOptionEditor/ElementOptionEditor.test.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/ElementOptionsEditor/components/ElementOptionEditor/ElementOptionEditor.test.tsx b/src/components/ElementOptionsEditor/components/ElementOptionEditor/ElementOptionEditor.test.tsx index ca53938..9bcec6c 100644 --- a/src/components/ElementOptionsEditor/components/ElementOptionEditor/ElementOptionEditor.test.tsx +++ b/src/components/ElementOptionsEditor/components/ElementOptionEditor/ElementOptionEditor.test.tsx @@ -1,18 +1,10 @@ -import { toDataFrame } from '@grafana/data'; -import { DragDropContext, DropResult } from '@hello-pangea/dnd'; -import { act, fireEvent, render, screen, waitFor, within } from '@testing-library/react'; +import { act, fireEvent, render, screen } from '@testing-library/react'; import React from 'react'; +import { FormElementType } from '@/types'; import { getFormElementsEditorSelectors } from '@/utils'; import { ElementOptionEditor } from './ElementOptionEditor'; -import { FormElementType } from '@/types'; -import { FORM_ELEMENT_DEFAULT } from '@/constants'; - -/** - * Mock timers - */ -jest.useFakeTimers(); /** * Form Elements Editor