beachball
beachball copied to clipboard
Add helper methods for git operations in tests
Instead of calling git()
directly in tests, add helper methods on Repository
to run the various operations and process the output.
Centralizing git operations like this reduces boilerplate and makes the tests easier to read.