debug() {
    console.log();
    this.__items.forEach((element) => {
      let output;

      if (element.config) {
        // request
        output = element.config.method.toLowerCase() + ', ';
        output += element.config.url;
      } else {
        // stub
        output = element.method.toLowerCase() + ', ';
        output += element.url + ', ';
        output += element.response.status + ', ';

        if (element.response.response) {
          output += JSON.stringify(element.response.response);
        } else {
          output += '{}';
        }
      }
      console.log(output);
    });
  }
/**
   * Dump the items being tracked to the console.
   */
Dump the items being tracked to the console.
Dump the items being tracked to the console .
debug() {
    console.log();
    this.__items.forEach((element) => {
      let output;
      if (element.config) {
        output = element.config.method.toLowerCase() + ', ';
        output += element.config.url;
      } else {
        output = element.method.toLowerCase() + ', ';
        output += element.url + ', ';
        output += element.response.status + ', ';
        if (element.response.response) {
          output += JSON.stringify(element.response.response);
        } else {
          output += '{}';
        }
      }
      console.log(output);
    });
  }
debug ( ) { console . log ( ) ; this . __items . forEach ( ( element ) => { let output ; if ( element . config ) { output = element . config . method . toLowerCase ( ) + ', ' ; output += element . config . url ; } else { output = element . method . toLowerCase ( ) + ', ' ; output += element . url + ', ' ; output += element . response . status + ', ' ; if ( element . response . response ) { output += JSON . stringify ( element . response . response ) ; } else { output += '{}' ; } } console . log ( output ) ; } ) ; }
Dump the items being tracked to the console.
Dump the items being tracked to the console .
// request // stub