Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ useFittedLineClamp.spec.ts
File
useFittedLineClamp.spec.ts
packages/shared/src/hooks/useFittedLineClamp.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ act, renderHook } from
'@testing-library/react'
;
2
import
{ useFittedLineClamp } from
'./useFittedLineClamp'
;
3
4
const
LINE_HEIGHT = 20;
Callers
nothing calls this directly
Calls
3
useFittedLineClamp
Function · 0.90
attach
Function · 0.85
notify
Function · 0.85
Tested by
no test coverage detected