   'characterwise'
 ]
 
-packageName = 'vim-mode-plus'
 class SpecError
   constructor: (@message) ->
     @name = 'SpecError'

      expect(@editorElement.classList.contains(m)).toBe(false)

  # Public
  keystroke: (keys, options={}) =>
    {element} = options
    if options.waitsForFinish
      finished = false
      @vimState.onDidFinishOperation -> finished = true


    # keys must be String or Array
    # Not support Object for keys to avoid ambiguity.
    target = @editorElement
    mocked = null
    keys = [keys] unless _.isArray(keys)

    for k in keys
      if _.isString(k)
        _keystroke(k, {target})
        continue
      else
        switch
          when k.platform?
            mockPlatform(target, k.platform)
            mocked = true
          when k.char?
            chars =
