Skip to main content

measure_typescript

Function measure_typescript 

Source
pub fn measure_typescript(
    root: &Path,
    thresholds: TypeScriptThresholds,
    exclude: &[String],
) -> Result<Outcome>
Expand description

Run the unit suite under vitest coverage in root and check it against thresholds. exclude is the coverage-rule exemptions as root-relative paths; npx resolves the project-local vitest and @vitest/coverage-v8.