The Evergreen-client class snapshotter.js is tested indirectly, we should test the core git() function more directly and this is the core and most critical part of this class.
Acceptance criterion: the code coverage should be higher.
To check/get started on this,
- clone https://github.com/jenkins-infra/evergreen
- cd distribution/client
- make check
This will generate a coverage directory, open coverage/lcov-report/index.html with your browser to see the coverage obtained.
Make it better, rinse, repeat .