From 1c01d52c523dc21c4a91e64b67c85aa783e9f88c Mon Sep 17 00:00:00 2001 From: karthxk07 Date: Sun, 28 Jan 2024 19:26:47 +0530 Subject: [PATCH] Lint fix --- .../CurrentHourIndicator/CurrentHourIndicator.test.tsx | 1 - src/components/EventCalendar/EventCalendar.test.tsx | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/components/CurrentHourIndicator/CurrentHourIndicator.test.tsx b/src/components/CurrentHourIndicator/CurrentHourIndicator.test.tsx index ef03c02c31..084817dc0d 100644 --- a/src/components/CurrentHourIndicator/CurrentHourIndicator.test.tsx +++ b/src/components/CurrentHourIndicator/CurrentHourIndicator.test.tsx @@ -1,4 +1,3 @@ -import type { Dispatch, SetStateAction } from 'react'; import React from 'react'; import { render } from '@testing-library/react'; import CurrentHourIndicator from './CurrentHourIndicator'; diff --git a/src/components/EventCalendar/EventCalendar.test.tsx b/src/components/EventCalendar/EventCalendar.test.tsx index 9e127a5d86..6a4b8c41a3 100644 --- a/src/components/EventCalendar/EventCalendar.test.tsx +++ b/src/components/EventCalendar/EventCalendar.test.tsx @@ -1,12 +1,6 @@ /* eslint-disable react/react-in-jsx-scope */ import Calendar from './EventCalendar'; -import { - render, - screen, - fireEvent, - act, - RenderResult, -} from '@testing-library/react'; +import { render, screen, fireEvent, act } from '@testing-library/react'; import { MockedProvider } from '@apollo/react-testing'; import { I18nextProvider } from 'react-i18next'; import { debug } from 'jest-preview'; @@ -18,8 +12,6 @@ import { import i18nForTest from 'utils/i18nForTest'; import { StaticMockLink } from 'utils/StaticMockLink'; import styles from './EventCalendar.module.css'; -import { BrowserRouter } from 'react-router-dom'; -import userEvent from '@testing-library/user-event'; const eventData = [ {