Skip to content

TestCoverageOptions

Options for running tests with coverage.

Import:

import type { TestCoverageOptions } from 'obsidian-dev-utils/script-utils/test-runners/vitest';

Signature:

export interface TestCoverageOptions extends TestOptions

Extends: TestOptions

Properties

PropertyTypeDescription
minCoverageInPercents?numberMinimum coverage percentage required. If the actual coverage falls below this threshold, the process exits with a non-zero code.
projects?string[]The projects to run.
(Inherited from TestOptions)

Links to this page: