KC's Workspace
    Preparing search index...

    From T, pick a set of properties whose keys are in the union K

    interface CustomProviderOptions {
        allowExternal?: boolean;
        clean?: boolean;
        cleanOnRerun?: boolean;
        customProviderModule: string;
        enabled?: boolean;
        exclude?: string[];
        processingConcurrency?: number;
        reportOnFailure?: boolean;
        reportsDirectory?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    allowExternal?: boolean

    Collect coverage of files outside the project root.

    false
    
    clean?: boolean

    Clean coverage results before running tests

    true
    
    cleanOnRerun?: boolean

    Clean coverage report on watch rerun

    true
    
    customProviderModule: string

    Name of the module or path to a file to load the custom provider from

    enabled?: boolean

    Enables coverage collection. Can be overridden using --coverage CLI option.

    false
    
    exclude?: string[]

    List of files excluded from coverage as glob patterns. Files are first checked against coverage.include.

    See Including and excluding files from coverage report for examples.

    processingConcurrency?: number

    Concurrency limit used when processing the coverage results. Defaults to Math.min(20, os.availableParallelism?.() ?? os.cpus().length)

    reportOnFailure?: boolean

    Generate coverage report even when tests fail.

    false
    
    reportsDirectory?: string

    Directory to write coverage report to

    './coverage'