chelnak / gh-changelog

A gh cli extension that will make your changelogs ✨
MIT License
110 stars 4 forks source link

Add gitclient tests #69

Closed chelnak closed 2 years ago

chelnak commented 2 years ago

This PR adds tests for the gitclient. The test implementation used meant that gitclient needed to be slightly refactored so that we can pass in a fake command context when required.