I\'m having a create-react-app and am trying to test a functional component. The component makes a service call on initial mount and sets the state and populates a
create-react-app