code: function end (nextState) {
    if (__DEBUG__) {
      if (console.group) {
        displayBuffer.next = colorFormat('next history', colors.nextState, nextState)
      } else {
        displayBuffer.next = ['next history', nextState]
      }
      printBuffer()
    }
  }
docs: /* istanbul ignore next: debug messaging is not tested