import { Point } from 'slate'

export const input = {
  path: [0, 0],
  offset: 0,
}

export const test = value => {
  return Point.transform(
    value,
    {
      type: 'insert_text',
      path: [0, 0],
      text: 'a',
      offset: 1,
      properties: {},
    },
    { affinity: 'backward' }
  )
}
export const output = {
  path: [0, 0],
  offset: 0,
}
