Skip to content

Commit 261c527

Browse files
committed
test: use real navigation
1 parent e1155ce commit 261c527

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/router-mock.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ export function setupRouterMock() {
2424
return
2525
}
2626

27-
const router = createRouterMock()
27+
const router = createRouterMock({
28+
useRealNavigation: true,
29+
})
2830

2931
beforeEach(() => {
3032
router.reset()

0 commit comments

Comments
 (0)