mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Un-F
This commit is contained in:
@@ -8,7 +8,7 @@ describe "CommandPanel", ->
|
||||
rootView.enableKeymap()
|
||||
commandPanel = rootView.commandPanel
|
||||
|
||||
fdescribe "when toggle-command-panel is triggered on the root view", ->
|
||||
describe "when toggle-command-panel is triggered on the root view", ->
|
||||
it "toggles the command panel", ->
|
||||
rootView.attachToDom()
|
||||
expect(rootView.find('.command-panel')).not.toExist()
|
||||
@@ -31,7 +31,7 @@ describe "CommandPanel", ->
|
||||
expect(commandPanel.editor.buffer.getText()).toBe ''
|
||||
expect(commandPanel.editor.getCursorScreenPosition()).toEqual [0, 0]
|
||||
|
||||
fdescribe "when esc is pressed in the command panel", ->
|
||||
describe "when esc is pressed in the command panel", ->
|
||||
it "closes the command panel", ->
|
||||
rootView.trigger 'command-panel:toggle'
|
||||
expect(rootView.find('.command-panel').view()).toBe commandPanel
|
||||
|
||||
Reference in New Issue
Block a user