PfunctionCoverage
Bun

property

test.default.RunOptions.functionCoverage

functionCoverage?: number

Require a minimum percent of covered functions. If code coverage does not reach the threshold specified, the process will exit with code 1.