import Router from 'next/router'; Router.router = { push: async () => {}, replace: async () => {}, prefetch: () => {}, route: '/mock-route', pathname: 'mock-path',};