Add tests to the project using mocha
- Mock all the GitHub API functions and provide them with static data
- Compare the data generated with a static JSON file found at test/data.json
- Set proper env variables to prepare test env
You can refer https://github.com/gautamkrishnar/blog-post-workflow for an example
Add tests to the project using mocha
You can refer https://github.com/gautamkrishnar/blog-post-workflow for an example