DEV Community

Cover image for How I save a few hours each week on testing graphql in Nest.js (typescript)
adziok
adziok

Posted on

How I save a few hours each week on testing graphql in Nest.js (typescript)

Hello!

If you've ever tested graphql using supertest, you've probably encountered an issue where you have to create gql queries as plainstring. After you make changes to the code, the tests start failing by erroring queries and you have to spend time figuring out what's wrong (sometimes hours...).
I have a solution for you!
Image description

Check link bellow:
https://medium.com/@adziok1998/how-i-save-a-few-hours-each-week-on-testing-graphql-in-nest-js-typescript-1afd8ceeacf7

Top comments (0)