This commit is contained in:
Kar
2022-09-07 00:13:55 +05:30
commit 0faf7e9d31
43 changed files with 7565 additions and 0 deletions

6
__mocks__/next/router.ts Normal file
View File

@@ -0,0 +1,6 @@
// The easiest solution to mock `next/router`: https://github.com/vercel/next.js/issues/7479
export const useRouter = () => {
return {
basePath: '.',
};
};