async onBeforeCleanup() {
    this.context.testSummary = null;
    this._finishedTests = true;
    this._logDisableWarning();
  }
Hook that is called when detox.cleanup() just begins

@protected
@async
@return {Promise<void>} - when done