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

'Mutation did not trigger an event null' on 'npm test' #47

Open
davetapley opened this issue Apr 29, 2019 · 1 comment
Open

'Mutation did not trigger an event null' on 'npm test' #47

davetapley opened this issue Apr 29, 2019 · 1 comment
Assignees

Comments

@davetapley
Copy link

I was trying to run the tests per TESTING, but it's failing with:

$ GRAPHQURL_TEST_GRAPHQL_ENGINE_URL=http://localhost:8080/ GRAPHQURL_TEST_X_HASURA_ACCESS_KEY=myadminsecretkey npm test                                                 

> graphqurl@0.3.3 test /Users/dave/dev/graphqurl
> node test/index.test.js && node test/clearstate.test.js

✔︎ Mutation with promise
✔︎ Query with promise
✔︎ Mutation with callback
✔︎ Query with callback
✖ Subscription with promise
Mutation did not trigger an event null
npm ERR! Test failed.  See above for more details.

I'm using the hasura/graphql-engine:v1.0.0-alpha44 Docker image, via this docker-compose.yml.

I can repro 100%.

Here's what it looks like.

@shahidhk
Copy link
Member

shahidhk commented May 7, 2019

Sorry about the delay @dukedave! Should be an easy fix. @wawhal Can you check this out?

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

3 participants