Skip to content

Commit

Permalink
Fix failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
nielssp committed May 2, 2024
1 parent f57f101 commit eb26a28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/router.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ describe('HashRouter', () => {
'**': () => <div/>,
});

mountTest(<router.Portal/>);

await router.navigate('');
expect(window.location.hash).toBe('');

Expand Down

0 comments on commit eb26a28

Please sign in to comment.