Running the tests doesn't check the result of the worker based pdf processing code. This should be the case.

Object.assign(styleCache, value.styles);
          this._processItems(value.items, styleCache);
          pump();
        }, capability.reject);
      };
      this._reader = this._textContentStream.getReader();
      pump();
    } else {
      throw new Error(
        'Neither "textContent" nor "textContentStream" parameters specified.'
      );
    }
    capability.promise.then(() => {
      styleCache = null;
      if (!timeout) {
        
        render(this);
      } else {
        
        this._renderTimer = setTimeout(() => {
          render(this);
          this._renderTimer = null;
        }, timeout);
      }
    }, this._capability.reject);
  }
  /**
   * @param {boolean} [expandDivs]
   */
  expandTextDivs(expandDivs = false) {