Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/primer/react
/ Truncate.test.tsx
File
Truncate.test.tsx
packages/react/src/Truncate/Truncate.test.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import React from
'react'
2
import {Truncate} from
'..'
3
import {render, behavesAsComponent, checkExports} from
'../utils/testing'
4
import {render as HTMLRender} from
'@testing-library/react'
Callers
nothing calls this directly
Calls
4
behavesAsComponent
Function · 0.90
checkExports
Function · 0.90
render
Function · 0.90
toHaveNoViolations
Method · 0.80
Tested by
no test coverage detected