This commit is contained in:
parent
4ae32c4f3b
commit
f9682ca9ea
2 changed files with 63 additions and 34 deletions
|
|
@ -9,6 +9,14 @@ mock.module("next/navigation", () => ({
|
||||||
redirect,
|
redirect,
|
||||||
usePathname: () => "/options"
|
usePathname: () => "/options"
|
||||||
}));
|
}));
|
||||||
|
mock.module("next/navigation.js", () => ({
|
||||||
|
default: {
|
||||||
|
redirect,
|
||||||
|
usePathname: () => "/options"
|
||||||
|
},
|
||||||
|
redirect,
|
||||||
|
usePathname: () => "/options"
|
||||||
|
}));
|
||||||
|
|
||||||
const {
|
const {
|
||||||
NAV_ITEMS,
|
NAV_ITEMS,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue