Member Junction
    Preparing search index...

    One matcher bound to the parameter it checks.

    interface ParamExpectation {
        matcher: ParamMatcher;
        optional?: boolean;
        param: string;
    }
    Index

    Properties

    matcher: ParamMatcher
    optional?: boolean

    When true, an ABSENT parameter passes; a present one is still checked.

    This is how a case asserts "if the model sets Format, it must be json" without requiring it to set Format at all — the common shape for optional action params that carry a server-side default.

    param: string