MCPcopy Create free account
hub / github.com/dailydotdev/apps / useShareLinkClick.spec.tsx

File useShareLinkClick.spec.tsx

packages/shared/src/hooks/useShareLinkClick.spec.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { renderHook, waitFor } from '@testing-library/react';
2import type { NextRouter } from 'next/router';
3import { useRouter } from 'next/router';
4import { useAuthContext } from '../contexts/AuthContext';

Callers

nothing calls this directly

Calls 7

isShareLinkClickCampaignFunction · 0.90
getShareLinkClickKeyFunction · 0.90
useShareLinkClickFunction · 0.90
setViewerFunction · 0.85
setRouterQueryFunction · 0.85
renderHookFunction · 0.85

Tested by

no test coverage detected