MCPcopy Create free account
hub / github.com/dailydotdev/apps / useRouter

Function useRouter

packages/shared/src/components/tabs/TabContainer.spec.tsx:114–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 describe('with URLs', () => {
113 jest.mock('next/router', () => ({
114 useRouter() {
115 return {
116 isFallback: false,
117 };
118 },
119 }));
120
121 beforeAll(() => {

Callers 15

TabContainerFunction · 0.70
MainLayoutComponentFunction · 0.50
FeedFunction · 0.50
FeedEmptyScreenFunction · 0.50
RouteProgressBarFunction · 0.50
MainFeedLayoutFunction · 0.50
PlusDesktopFunction · 0.50
PlusProductToggleFunction · 0.50
PlusInfoFunction · 0.50
PlusMobileFunction · 0.50
PlusIOSFunction · 0.50
ToggleClickbaitShieldFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected