Class MatchPatternFileCondition

Implements

Constructors

Properties

matchPatternFileConditionBuilder: NegatedMatchPatternFileConditionBuilder
filter: Filter

Methods

  • Executes the pattern matching check against the selected files.

    For positive assertions (should): Validates that files match the pattern. For negative assertions (shouldNot): Validates that files do NOT match the pattern.

    Parameters

    • Optional options: CheckOptions

      Optional check options including allowEmptyTests and logging

    Returns Promise<Violation[]>

    Promise<Violation[]> Array of violations found during the check