graphqurl icon indicating copy to clipboard operation
graphqurl copied to clipboard

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

Open davetapley opened this issue 5 years ago • 1 comments

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                                                 

> [email protected] 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.

davetapley avatar Apr 29 '19 23:04 davetapley

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

shahidhk avatar May 07 '19 06:05 shahidhk