• 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

Generated using TypeDoc