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)

graph LR fill["fill"] setReactInputValue["setReactInputValue"] fill -->|calls| setReactInputValue style fill fill:#dbeafe,stroke:#2563eb,stroke-width:2px click fill "9ad556d985657144.html" click setReactInputValue "924fcd707043186b.html"
TargetType
setReactInputValue calls

No incoming dependencies.