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

File useQueryTab.spec.tsx

packages/shared/src/components/shell/useQueryTab.spec.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { act, renderHook } from '@testing-library/react';
2import { useRouter } from 'next/router';
3import { useQueryTab } from './useQueryTab';
4import { useIsPhone } from '../../hooks/useViewSize';

Callers

nothing calls this directly

Calls 2

useQueryTabFunction · 0.90
mockRouterFunction · 0.70

Tested by

no test coverage detected