Move MenuItem spec into root describe

This commit is contained in:
Kevin Sawicki 2017-02-16 09:14:31 -08:00
parent 55f90b4a4b
commit 947556a23f

View file

@ -429,7 +429,6 @@ describe('menu module', function () {
assert.equal(item.getDefaultRoleAccelerator(), process.platform === 'win32' ? 'Control+Y' : 'Shift+CommandOrControl+Z')
})
})
})
describe('MenuItem with custom properties in constructor', function () {
it('preserves the custom properties', function () {
@ -452,3 +451,4 @@ describe('MenuItem with custom properties in constructor', function () {
assert.equal(typeof menu.items[0].submenu.items[0].overrideProperty, 'function')
})
})
})