hunk.code_window: import Transforms from '../transforms'
  
hunk.labels: add keep keep
hunk.after_edit: import Debug from 'debug'
  
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 first = texts.first()
    const range = selection.merge({
      anchorKey: first.key,
      anchorOffset: 1,
      focusKey: first.key,
      focusOffset: 1
    })
  
    const next = state
      .transform()
      .moveTo(range)
      .insertText('a')
      .apply()
  
    assert.deepEqual(
      next.selection.toJS(),
      range.moveForward().toJS()
    )
  
    return next
  }
  