Interface CoverageOptions interface CoverageOptions { allowExternal ?: boolean ; changed ?: string | boolean ; clean ?: boolean ; cleanOnRerun ?: boolean ; customProviderModule ?: string ; enabled ?: boolean ; exclude ?: string [] ; excludeAfterRemap ?: boolean ; htmlDir ?: string ; ignoreClassMethods ?: string [] ; include ?: string [] ; processingConcurrency ?: number ; provider ?: "v8" | "istanbul" | "custom" ; reporter ?: | Arrayable < CoverageReporter > | (
CoverageReporter | [CoverageReporter] | [string & {}, Record<string, unknown>] | ["json", Partial<FileOptions>] | ["html", Partial<HtmlOptions>] | ["clover", Partial<CloverOptions>] | ["cobertura", Partial<CoberturaOptions>] | ["html-spa", Partial<HtmlSpaOptions>] | ["json-summary", Partial<FileOptions>] | ["lcov", Partial<LcovOptions>] | ["lcovonly", Partial<LcovOnlyOptions>] | ["none", object] | ["teamcity", Partial<TeamcityOptions>] | ["text", Partial<TextOptions>] | ["text-lcov", Partial<ProjectOptions>] | ["text-summary", Partial<FileOptions>]
)
[] ; reportOnFailure ?: boolean ; reportsDirectory ?: string ; skipFull ?: boolean ; thresholds ?: | Thresholds | { [ glob : string ]: Pick < Thresholds , "lines" | "branches" | "functions" | "statements" | 100 , > ; } & Thresholds ; watermarks ?: { branches ?: [ number , number ] ; functions ?: [ number , number ] ; lines ?: [ number , number ] ; statements ?: [ number , number ] ; } ; } Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:702 Properties Optionalallow External allowExternal ?: boolean
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:806 Optionalchanged changed ?: string | boolean
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:839 Optionalclean clean ?: boolean
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:734 Optionalclean On Rerun cleanOnRerun ?: boolean
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:740 Optionalcustom Provider Module customProviderModule ?: string
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:843 Optionalenabled enabled ?: boolean
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:714 Optionalexclude exclude ?: string []
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:728 Optionalexclude After Remap excludeAfterRemap ?: boolean
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:817 Optionalhtml Dir htmlDir ?: string
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:834 Optionalignore Class Methods ignoreClassMethods ?: string []
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:828 Optionalinclude include ?: string []
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:721 Optionalprocessing Concurrency processingConcurrency ?: number
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:822 Optionalprovider provider ?: "v8" | "istanbul" | "custom"
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:708 Optionalreporter reporter ?: | Arrayable < CoverageReporter > | (
CoverageReporter | [CoverageReporter] | [string & {}, Record<string, unknown>] | ["json", Partial<FileOptions>] | ["html", Partial<HtmlOptions>] | ["clover", Partial<CloverOptions>] | ["cobertura", Partial<CoberturaOptions>] | ["html-spa", Partial<HtmlSpaOptions>] | ["json-summary", Partial<FileOptions>] | ["lcov", Partial<LcovOptions>] | ["lcovonly", Partial<LcovOnlyOptions>] | ["none", object] | ["teamcity", Partial<TeamcityOptions>] | ["text", Partial<TextOptions>] | ["text-lcov", Partial<ProjectOptions>] | ["text-summary", Partial<FileOptions>]
)
[] Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:753 Optionalreport On Failure reportOnFailure ?: boolean
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:800 Optionalreports Directory reportsDirectory ?: string
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:746 Optionalskip Full skipFull ?: boolean
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:759 Optionalthresholds Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:781 Optionalwatermarks watermarks ?: { branches ?: [ number , number ] ; functions ?: [ number , number ] ; lines ?: [ number , number ] ; statements ?: [ number , number ] ; }
Defined in node_modules/.pnpm/vitest@4.1.2_@types+node@24.12.2_@vitest+ui@4.1.2_vite@8.0.1_@emnapi+core@1.9.2_@emnapi_6620f3f1ccf392a26432c97afbfdc4e5/node_modules/vitest/dist/chunks/reporters.d.B0uk8id2.d.ts:789
Collect coverage of files outside the project
root.