Closed
Description
Currently as per documentation:
If you pass the --gte=value flag you will get an exitCode 0 or 1 based on resulting coverage >= value expression
However the current code is > and not >=
Line 22 in 52c59ae
Current issue: Passing --gte=100 will return 1 even if lcov-total returns 100%.
Should be:
process.exitCode = result >= min ? 0 : 1;