Use mock server for tests
skanehira opened this issue Β· comments
π Overview
Use mock server for tests
Currently, gh.vim is using my own private repository to run tests.
This is not secure, so we have to use mock server for test.
We can use GraphQL Code Generator to generate type and query, resolver
from schema.docs.graphql in my mind.
π How to achieve
𧦠Steps
- Use GraphQL Code Generator to generate somethings needs
- Use generated things to implements mock server
- Use mock server to run tests.