I recently updated tests in my open source library get-open-prs. My goal was to get as close as I possibly could to 100% test coverage. However, there were a few obstacles I had to overcome to do so. get-open-prs is a CLI and has a lot of side effects like…
![4 useful tips for testing with sinon 4 useful tips for testing with sinon](https://stuartdotson.com/wp-content/uploads/2020/04/science-in-hd-NP6JLl_2C-c-unsplash-670x300.jpg)