 # SPEC_MIGRATION: P1 DONE #270
 _ = require 'underscore-plus'
-{getVimState, TextData} = require './spec-helper'
+{getVimState, TextData, mockPlatform} = require './spec-helper'
 settings = require '../lib/settings'
 
 describe "VimState", ->

        mode: 'normal'

    it "puts the editor into normal mode when <ctrl-c> is pressed", ->
      ensure [{platform: 'platform-darwin'}, 'R ctrl-c'],
        mode: 'normal'

  describe "visual-mode", ->
    beforeEach ->

        mode: 'normal'

    it "puts the editor into normal mode when <ctrl-c> is pressed", ->
      mock = mockPlatform(editorElement, 'platform-darwin')
      ensure 'ctrl-c', mode: 'normal'
      mock.dispose()

  describe "replace-mode", ->
    describe "with content", ->
