hunk.code_window:  */
   Object.keys(Transforms).forEach((type) => {
     Transform.prototype[type] = function (...args) {
       return Transforms[type](this, ...args)
     }
   })
   /**
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:     debug(type, { args })
  
hunk.file_path: src/models/transform.js
hunk.type: add
file: 
  import assert from 'assert'
  
  export default function (state) {
    const { document, selection } = state
    const texts = document.getTexts()
    const second = texts.get(1)
  
    const next = state
      .transform()
      .moveTo({
        anchorKey: second.key,
        anchorOffset: 0,
        focusKey: second.key,
        focusOffset: second.length
      })
      .collapseToFocus()
      .apply()
  
    assert.deepEqual(next.selection.toJS(), {
      anchorKey: second.key,
      anchorOffset: second.length,
      focusKey: second.key,
      focusOffset: second.length,
      isBackward: false,
      isFocused: false,
      marks: null,
    })
  }
  