mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Ignore menu items for now.
This commit is contained in:
@@ -32,7 +32,7 @@ describe "Window", ->
|
||||
expect($('head style').length).toBe 1
|
||||
|
||||
|
||||
describe "bindMenuItem(path, keyPattern, action)", ->
|
||||
xdescribe "bindMenuItem(path, keyPattern, action)", ->
|
||||
it "causes the given menu item to be added to the menu when the window is focused and removed when it is blurred", ->
|
||||
addedPaths = []
|
||||
spyOn(atom.native, 'addMenuItem').andCallFake (path) -> addedPaths.push(path)
|
||||
|
||||
@@ -6,7 +6,7 @@ describe "Native", ->
|
||||
beforeEach ->
|
||||
nativeModule = new Native
|
||||
|
||||
describe "addMenuItem(path, keyPattern)", ->
|
||||
xdescribe "addMenuItem(path, keyPattern)", ->
|
||||
mainMenu = null
|
||||
mainMenuItems = null
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class Native
|
||||
$native.readFromPasteboard()
|
||||
|
||||
resetMainMenu: (menu) ->
|
||||
OSX.NSApp.resetMainMenu
|
||||
# OSX.NSApp.resetMainMenu
|
||||
|
||||
addMenuItem: (itemPath, keyPattern) ->
|
||||
itemPathComponents = itemPath.split /\s*>\s*/
|
||||
|
||||
Reference in New Issue
Block a user