@@ -728,7 +728,7 @@ describe "Operators", ->
728728
729729 it " undoes correctly with u" , ->
730730 keydown (' escape' )
731- expect (vimState .mode ).toBe " command "
731+ expect (vimState .mode ).toBe " normal "
732732 keydown ' u'
733733 expect (editor .getText ()).toBe (" 12345(67)8\n abc(d)e\n A()BCDE" )
734734
@@ -752,7 +752,7 @@ describe "Operators", ->
752752 keydown (' c' )
753753 keydown (' %' )
754754 expect (editor .getText ()).toBe (" 12345(67)8\n abc(d)e\n ABCDE" )
755- expect (vimState .mode ).toBe " command "
755+ expect (vimState .mode ).toBe " normal "
756756
757757 describe " repetition with ." , ->
758758 beforeEach ->
@@ -766,33 +766,33 @@ describe "Operators", ->
766766 editor .setCursorScreenPosition ([1 , 0 ])
767767 keydown (' .' )
768768 expect (editor .getText ()).toBe (" 1x8\n xe\n A()BCDE" )
769- expect (vimState .mode ).toBe " command "
769+ expect (vimState .mode ).toBe " normal "
770770
771771 it " repeats correctly on the opening bracket" , ->
772772 editor .setCursorScreenPosition ([1 , 3 ])
773773 keydown (' .' )
774774 expect (editor .getText ()).toBe (" 1x8\n abcxe\n A()BCDE" )
775- expect (vimState .mode ).toBe " command "
775+ expect (vimState .mode ).toBe " normal "
776776
777777 it " repeats correctly inside brackets" , ->
778778 editor .setCursorScreenPosition ([1 , 4 ])
779779 keydown (' .' )
780780 # this differs from VIM, which deletes the character originally under cursor
781781 expect (editor .getText ()).toBe (" 1x8\n abcxd)e\n A()BCDE" )
782- expect (vimState .mode ).toBe " command "
782+ expect (vimState .mode ).toBe " normal "
783783
784784 it " repeats correctly on the closing bracket" , ->
785785 editor .setCursorScreenPosition ([1 , 5 ])
786786 keydown (' .' )
787787 # this differs from VIM, which deletes the character originally under cursor
788788 expect (editor .getText ()).toBe (" 1x8\n abcx)e\n A()BCDE" )
789- expect (vimState .mode ).toBe " command "
789+ expect (vimState .mode ).toBe " normal "
790790
791791 it " does nothing when repeated after a bracket" , ->
792792 editor .setCursorScreenPosition ([2 , 3 ])
793793 keydown (' .' )
794794 expect (editor .getText ()).toBe (" 1x8\n abc(d)e\n A()BCDE" )
795- expect (vimState .mode ).toBe " command "
795+ expect (vimState .mode ).toBe " normal "
796796
797797 describe " when followed by a goto line G" , ->
798798 beforeEach ->
0 commit comments