Skip to content

Commit

Permalink
chore: used ROUTES enum
Browse files Browse the repository at this point in the history
  • Loading branch information
SagarRajput-7 committed Jul 31, 2024
1 parent f0655c6 commit 6c33607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/SaveView/__test__/SaveView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ describe('SaveView', () => {

it('explorer icon should take the user to the related explorer page', async () => {
render(
<MemoryRouter initialEntries={['/traces/saved-views']}>
<Route path="/traces/saved-views">
<MemoryRouter initialEntries={[ROUTES.TRACES_SAVE_VIEWS]}>
<Route path={ROUTES.TRACES_SAVE_VIEWS}>
<SaveView />
</Route>
</MemoryRouter>,
Expand Down

0 comments on commit 6c33607

Please sign in to comment.