Currently I am trying to create a pact consumer test. My query is being called inside a React component using the Apollo useQuery hook and I cannot call the useQuery hook inside my pact consumer test because it is not a functional component.