Beignet API reference
    Preparing search index...

    Interface NotificationDeliveryExpectation

    Expected notification delivery fields used by notification assertion helpers.

    interface NotificationDeliveryExpectation {
        channels?: readonly string[];
        id?: string;
        metadata?: Record<string, unknown>;
        notificationName?: string;
        payload?: unknown;
    }
    Index
    channels?: readonly string[]

    Expected selected channels.

    id?: string

    Expected memory delivery ID.

    metadata?: Record<string, unknown>

    Expected delivery metadata. Object values are matched as partial objects.

    notificationName?: string

    Expected notification name.

    payload?: unknown

    Expected parsed payload. Object values are matched as partial objects.