Skip to content

Commit

Permalink
TBD
Browse files Browse the repository at this point in the history
  • Loading branch information
keyasuda committed Jan 2, 2025
1 parent 180df6d commit fc0056f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/component/app/AppMenu.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react'
import { render, screen } from '@testing-library/react'
import userEvent from '@testing-library/user-event'
import { MemoryRouter } from 'react-router-dom'
import { CompatRouter } from 'react-router-dom-v5-compat'
import { MemoryRouter, Routes } from 'react-router-dom'
import ReactRouter from 'react-router'
import * as ReactRedux from 'react-redux'
import { Provider } from 'react-redux'
Expand Down Expand Up @@ -55,9 +54,9 @@ describe('AppMenu', () => {
render(
<Provider store={mockStore}>
<MemoryRouter initialEntries={['/app/file-id/']} initialIndex={0}>
<CompatRouter>
<Routes>
<AppMenu />
</CompatRouter>
</Routes>
</MemoryRouter>
</Provider>
)
Expand Down

0 comments on commit fc0056f

Please sign in to comment.