How to mock useSearchParams() and useRouter() with Jest in Next 13 (next/navigation)
Edit: This article is out of date. Read the updated version: Mocking usePathName, useSearchParams and...
Tags: nextjs, jest, usesearchparams, userouter