Hi everyone, I'm working on unit test for my Graph...
# prisma-whats-new
d
Hi everyone, I'm working on unit test for my GraphQL server. Should I test the queries and mutations via HTTP endpoint or just test their resolvers? Its kind of confusing with a newbie ^^
j
I'd recommend writing unit tests for the resolvers + an integration test where you mock out the HTTP response and send queries to your server.
👍 1
d
Thank you, i'm working on the resolvers, will start the integration test then ^^