Use vim-mode-plus in ex-input-spec as well
This commit is contained in:
parent
99dd953370
commit
546aa9f95c
1 changed files with 1 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ helpers = require './spec-helper'
|
|||
describe "the input element", ->
|
||||
[editor, editorElement, vimState, exState] = []
|
||||
beforeEach ->
|
||||
vimMode = atom.packages.loadPackage('vim-mode')
|
||||
vimMode = atom.packages.loadPackage('vim-mode-plus')
|
||||
exMode = atom.packages.loadPackage('ex-mode')
|
||||
waitsForPromise ->
|
||||
activationPromise = exMode.activate()
|
||||
|
|
@ -26,7 +26,6 @@ describe "the input element", ->
|
|||
atom.commands.dispatch(getCommandEditor(), "core:cancel")
|
||||
vimState = vimMode.mainModule.getEditorState(editor)
|
||||
exState = exMode.mainModule.exStates.get(editor)
|
||||
vimState.activateNormalMode()
|
||||
vimState.resetNormalMode()
|
||||
editor.setText("abc\ndef\nabc\ndef")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue