Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Latest commit

 

History

History

simple

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Simple GraphQL Sonar Example

This example showcases how to integrate GraphQL sonar, with queries against the GitHub GraphQL API.

Using GraphQL Sonar code generation

All operations stored in operations will be converted to type-safe testing helpers by GraphQL Sonar when running yarn generate.

Running our tests with the built-in runner

To run our tests, we use the built-in test runner to get started quickly. We add some custom assertions to make sure the response matches our expectations.