royboy789/react-app-test

SiteHeader

Closed this issue · 0 comments

  • Add Tests
    • spy/mock on changeSubCallback to verify called once with proper useRef value
  • using typescript to describe the keys of attr argument,
  • changing the argument attr to props,
  • adding a label to the input,
  • adding a for/id HTML attribute relationship between the label and input.