A simple jest reporter that will output previous and current test coverage results. BYO git hooks to police yourself and make sure your code coverage doesn't fall.
npm install jest-compare-reporter- Add the reporter to your jest config (ex: https://jestjs.io/docs/configuration#coveragereporters-arraystring--string-options)
2a. Alternatively you can use it from the CLI (ex: https://jestjs.io/docs/cli#--reporters) - This outputs a file that compares the coverage between the previous run and the current run.
- Use the file however you'd like. I made it with the intention of being used with git hooks.