Skip to content
Navigation menu
Search
Powered by
Search
Algolia
Search
Log in
Create account
DEV Community
Close
#
userouter
Follow
Hide
Posts
Left menu
đź‘‹
Sign in
for the ability to sort posts by
relevant
,
latest
, or
top
.
Right menu
5. Mocking usePathName, useSearchParams and useRouter with Jest in Next 15
Peter Jacxsens
Peter Jacxsens
Peter Jacxsens
Follow
Dec 21
5. Mocking usePathName, useSearchParams and useRouter with Jest in Next 15
#
nextjs
#
jest
#
usesearchparams
#
userouter
1
 reaction
Comments
Add Comment
11 min read
UseRouter import from next/navigation or next/router in App Router Next JS?
Vivek
Vivek
Vivek
Follow
May 24
UseRouter import from next/navigation or next/router in App Router Next JS?
#
javascript
#
nextjs
#
userouter
#
react
1
 reaction
Comments
Add Comment
1 min read
How to mock useSearchParams() and useRouter() with Jest in Next 13 (next/navigation)
Peter Jacxsens
Peter Jacxsens
Peter Jacxsens
Follow
Jul 12 '23
How to mock useSearchParams() and useRouter() with Jest in Next 13 (next/navigation)
#
nextjs
#
jest
#
usesearchparams
#
userouter
19
 reactions
Comments
3
 comments
7 min read
Using searchParams, useSearchParams and useRouter in Next 13
Peter Jacxsens
Peter Jacxsens
Peter Jacxsens
Follow
Jul 12 '23
Using searchParams, useSearchParams and useRouter in Next 13
#
nextjs
#
jest
#
userouter
#
usesearchparams
26
 reactions
Comments
2
 comments
7 min read
loading...
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account