fill method infrastructure ✓ 100.0%
Last updated: 2026-03-04T23:21:38.384Z
Metrics
LOC: 9
Complexity: 2
Params: 2
Coverage: 100.0% (4/4 lines, 3x executed)
Signature
fill(wrapper: HTMLElement, value: string): : boolean
Source Code
fill(wrapper: HTMLElement, value: string): boolean {
const input = wrapper.querySelector<HTMLInputElement | HTMLTextAreaElement>(
"input, textarea",
);
if (!input) return false;
setReactInputValue(input, value);
return true;
},
Dependencies (Outgoing)
| Target | Type |
|---|---|
| setReactInputValue | calls |
No incoming dependencies.