yoga2
yoga2 copied to clipboard
When you create new yoga project generate test-files (unit-test and E2E-test)

@Weakky Similar to vue.js when you first scaffold a project you're given the option to include test files. In my company we write a lot of tests(unit-tests). Having something like would be appreciated by my team.
Also on that note generate samples like .travis.yml
or config.yml
for setting up
continuous-integration for the project
@schickling @Weakky Another option would be to preconfigure easygraphql-tester
and jest
so that it works out of the box with Yoga2, it will make it easier to test graphql on the server.
These articles should help out with testing graphql
https://easygraphql.com/docs/getting-started/overview https://medium.com/open-graphql/how-i-started-testing-my-queries-and-mutations-on-graphql-f578abc1b424