From 4d018f174faec77dc2c6b614e0429b795ecd24e5 Mon Sep 17 00:00:00 2001 From: Daniel Choudhury Date: Tue, 19 Sep 2023 19:28:06 +0700 Subject: [PATCH] Unused imports --- packages/router/src/__tests__/router.test.tsx | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/packages/router/src/__tests__/router.test.tsx b/packages/router/src/__tests__/router.test.tsx index 77df4339743f..a44c738f99cb 100644 --- a/packages/router/src/__tests__/router.test.tsx +++ b/packages/router/src/__tests__/router.test.tsx @@ -18,35 +18,34 @@ jest.mock('../util', () => { } }) -import React, { Children, useEffect, useState } from 'react' +import React, { useEffect, useState } from 'react' +import '@testing-library/jest-dom/extend-expect' import { - render, - waitFor, act, - fireEvent, configure, - cleanup, + fireEvent, + render, + waitFor, } from '@testing-library/react' -import '@testing-library/jest-dom/extend-expect' import type { AuthContextInterface } from '@redwoodjs/auth' import { - Router, - Route, - Private, - Redirect, + back, routes as generatedRoutes, Link, navigate, - back, + Private, + Redirect, + Route, + Router, usePageLoadingContext, } from '../' import { useLocation } from '../location' import { useParams } from '../params' import { Set } from '../Set' -import type { Spec, GeneratedRoutesMap } from '../util' +import type { GeneratedRoutesMap, Spec } from '../util' /** running into intermittent test timeout behavior in https://github.com/redwoodjs/redwood/pull/4992 attempting to work around by bumping the default timeout of 5000 */