Node TAP
    Preparing search index...

    Interface Result

    The return value from all comparison functions.

    interface Result {
        diff: string;
        match: boolean;
    }
    Index

    Properties

    Properties

    diff: string

    Diff of formatted test object and expected pattern. Only shows properties which differ, not the entire object.

    match: boolean

    whether or not the objects are a satisfying match