Enforces minimum code coverage for Jest test output.
npm install jest-no-less --save-dev
# Draconian mode
jest --coverage | jest-no-less --draconian
# Just 80% of statements
jest --coverage | jest-no-less --min-stmts 80
--draconian
All minima are set to 100.
--min-lines <value>
Minimum line coverage percentage.
--min-funcs <value>
Minimum function coverage percentage.
--min-stmts <value>
Minimum statement coverage percentage.