Hierarchy

  • MockChannel

Constructors

Properties

Methods

Accessors

Constructors

  • Parameters

    • __namedParameters: {
          id?: string;
          type?: string;
          onSend?: ((msg: any) => Promise<unknown>);
      }
      • Optional id?: string
      • Optional type?: string
      • Optional onSend?: ((msg: any) => Promise<unknown>)
          • (msg: any): Promise<unknown>
          • Parameters

            • msg: any

            Returns Promise<unknown>

    Returns MockChannel

Properties

responses: any[] = []
id: string = '1'
type: string = 'text'
onSend: undefined | ((msg: any) => Promise<unknown>)

Methods

Accessors

Generated using TypeDoc