Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Consumer side PACT are not working/creating #116

Open
jyotigupta001 opened this issue Sep 25, 2021 · 0 comments
Open

React Consumer side PACT are not working/creating #116

jyotigupta001 opened this issue Sep 25, 2021 · 0 comments

Comments

@jyotigupta001
Copy link

While running the consumer graphql contract test command: yarn test:pact:graphql

Sharing path for reference :
https://github.com/thombergs/code-examples/tree/master/pact/pact-react-consumer

It is giving the following error:

Error: Network error: request to http://localhost:8080/graphql failed, reason: connect ECONNREFUSED 127.0.0.1:8080
    at new ApolloError (/code-examples/pact/pact-react-consumer/node_modules/src/errors/ApolloError.ts:56:5)
    at /code-examples/pact/pact-react-consumer/node_modules/src/core/QueryManager.ts:509:31
    at /code-examples/pact/pact-react-consumer/node_modules/src/core/QueryManager.ts:1041:11
    at Array.forEach (<anonymous>)
    at /code-examples/pact/pact-react-consumer/node_modules/src/core/QueryManager.ts:1040:10
    at Map.forEach (<anonymous>)
@jyotigupta001 jyotigupta001 changed the title React Consumer side PACT are not working React Consumer side PACT are not working/creating Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant