You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the time of writing, it looks like you additionally need to pass in a header that specifies the content type, so that the example invocation should look like
also note that the return type/shape is not what is given by the example, but the library typings should be able to give you the correct shape of the return value.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
graphql/yoga-server/v2/features/testing
Fully-featured, simple to set up, performant and extendable GraphQL NodeJS (JavaScript/TypeScript) server
https://www.the-guild.dev/graphql/yoga-server/v2/features/testing
Beta Was this translation helpful? Give feedback.
All reactions