Skip to content
Navigation menu
Search
Powered by
Search
Algolia
Search
Log in
Create account
DEV Community
Close
Mocking useRouter and useSearchParams in Next 13 Series' Articles
Back to Peter Jacxsens's Series
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
24
reactions
Comments
2
comments
6 min read
How to mock URLSearchParams and searchParams with Jest
Peter Jacxsens
Peter Jacxsens
Peter Jacxsens
Follow
Jul 12 '23
How to mock URLSearchParams and searchParams with Jest
#
nextjs
#
jest
#
urlsearchparams
6
reactions
Comments
Add Comment
6 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
17
reactions
Comments
3
comments
7 min read
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account