Documentation
    Preparing search index...

    Interface Scenario<F>

    A group of checks that share one collection pass.

    interface Scenario<F = unknown> {
        checks: readonly Check<F>[];
        id: string;
        shell?: readonly ShellMode[];
        collect(context: CollectContext): Promise<F>;
        coverage?(facts: F, context: CollectContext): readonly DomainCoverage[];
    }

    Type Parameters

    • F = unknown
    Index

    Properties

    Methods

    Properties

    checks: readonly Check<F>[]
    id: string
    shell?: readonly ShellMode[]

    Shell modes the scenario applies to. Default: both.

    Methods