Skip to content

Commit 1356791

Browse files
committed
reset usenav
1 parent 6ab2bc1 commit 1356791

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/solid-router/tests/useNavigate.test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,7 @@ test('when setting search params with 2 parallel navigate calls', async () => {
12941294
}),
12951295
})
12961296

1297+
// console.log(indexRoute.options.validateSearch)
12971298
const router = createRouter({
12981299
routeTree: rootRoute.addChildren([indexRoute]),
12991300
})
@@ -1303,6 +1304,7 @@ test('when setting search params with 2 parallel navigate calls', async () => {
13031304
// Wait for router to initialize with defaults
13041305
await screen.findByTestId('param1')
13051306

1307+
// console.log(router.state.location)
13061308
expect(router.state.location.search).toEqual({
13071309
param1: 'param1-default',
13081310
param2: 'param2-default',

0 commit comments

Comments
 (0)