Skip to content

Commit

Permalink
test: add pathless route to splat setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mspiess committed Jun 8, 2024
1 parent 4b1ccd3 commit 1ce31c4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/react-router/__tests__/useResolvedPath-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,14 @@ describe("useResolvedPath", () => {
{
routes: (
<Route path="foo">
<Route
path="*"
element={
<Component desc='<Route path="/foo"><Route path="*" />' />
}
/>
<Route>
<Route
path="*"
element={
<Component desc='<Route path="/foo"><Route path="*" />' />
}
/>
</Route>
</Route>
),
},
Expand Down

0 comments on commit 1ce31c4

Please sign in to comment.