Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ useViewPost.spec.tsx
File
useViewPost.spec.tsx
packages/shared/src/hooks/post/useViewPost.spec.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import React from
'react'
;
2
import type { ComponentProps, ReactNode } from
'react'
;
3
import {
4
act,
Callers
nothing calls this directly
Calls
14
generateQueryKey
Function · 0.90
mockGraphQL
Function · 0.90
readStreakViewQueue
Function · 0.90
getStreakCelebratedKey
Function · 0.90
dateFormatInTimezone
Function · 0.90
getStreakGoalHitKey
Function · 0.90
renderViewPost
Function · 0.85
mockPreViewStreak
Function · 0.85
requestMethod
Function · 0.85
renderAndView
Function · 0.85
now
Method · 0.80
graphqlError
Function · 0.70
Tested by
no test coverage detected