That is a good point.

My view is that the lower the level that you are able to mock, the more accurate the flow of data throughout the application will be.

Mocking closer to the application layer usually involves assumptions around the data and requests that will be made.

Given that GraphQL schema is heavily typed we can safely make assumptions of the returning network data.


Creator of Sunflower Land. Come help us build the future of Web3 gaming!

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store