Skip to content

Commit 5f52ff8

Browse files
committed
test(react-router): update router configuration to use basepath directly instead of rewrite
Signed-off-by: leesb971204 <[email protected]>
1 parent a22766a commit 5f52ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-router/tests/router.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2856,7 +2856,7 @@ describe('rewriteBasepath utility', () => {
28562856
const router = createRouter({
28572857
routeTree,
28582858
history,
2859-
rewrite: rewriteBasepath({ basepath: '/my-app' }),
2859+
basepath: '/my-app',
28602860
})
28612861

28622862
render(<RouterProvider router={router} />)

0 commit comments

Comments
 (0)