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

Hierarchy

Properties

allowExternal?: boolean

Collect coverage of files outside the project root.

Default

false
clean?: boolean

Clean coverage results before running tests

Default

true
cleanOnRerun?: boolean

Clean coverage report on watch rerun

Default

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.

Default

false
exclude?: string[]

List of files excluded from coverage as glob patterns

extension?: string | string[]

Extensions for files to be included in coverage

Default

['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx', '.vue', '.svelte', '.marko']
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.

Default

false
reportsDirectory?: string

Directory to write coverage report to

Generated using TypeDoc