Added tests for next/router in app directory (#39867)
<!-- Thanks for opening a PR! Your contribution is much appreciated. In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> Added tests to ensure that the `next/router` returns null for `useRouter` and `withRouter` when used with the app directory.
Showing
Please
register
or
sign in
to comment