How to mock Next router with Jest
Edit: This article is outdated. Read an updated version here: mocking useRouter in app router in...
Tags: jest, mocking, nextjs