MCPcopy Create free account
hub / github.com/dailydotdev/apps / usePostModalNavigation.spec.ts

File usePostModalNavigation.spec.ts

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

Source from the content-addressed store, hash-verified

1import { act, renderHook } from '@testing-library/react';
2import type { ParsedUrlQuery } from 'querystring';
3import post from '../../__tests__/fixture/post';
4import { FeedItemType } from '../components/cards/common/common';

Callers

nothing calls this directly

Calls 7

useScrollRestorationFunction · 0.90
restoreHistoryEntryFunction · 0.85
renderNavigationFunction · 0.85
getHistoryEntryFunction · 0.85
advanceFrameFunction · 0.85
setScrollYFunction · 0.70
callbackFunction · 0.50

Tested by

no test coverage detected