mcollina / borp

node:test runner wrapper with TypeScript support
MIT License
158 stars 15 forks source link

Introduce c8 check coverage #25

Closed Palaxx closed 6 months ago

Palaxx commented 6 months ago

resolve: #23

Hello @mcollina, this PR introduce five new parameters which can be used to activate the c8 check coverage and configure his thresholds.

# default 100% coverage requested
borp --coverage --check-coverage

# configured thresholds
borp --coverage --check-coverage --lines 99 --functions 98 --branches 95 --statements 99