Skip to content

Commit

Permalink
Unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dac09 committed Sep 19, 2023
1 parent c54b2f5 commit 4d018f1
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions packages/router/src/__tests__/router.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 4d018f1

Please sign in to comment.