Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ getLabel
Function
getLabel
packages/shared/src/components/fields/TextField.spec.tsx:20–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
screen.getByRole(
'textbox'
) as HTMLInputElement;
19
20
const getLabel = (): HTMLLabelElement =>
21
screen.getByText(
'Name'
) as HTMLLabelElement;
22
23
it(
'should set by default placeholder as label'
, () => {
24
renderComponent();
Callers
1
TextField.spec.tsx
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected