Add assert for role with app name in label

This commit is contained in:
Kevin Sawicki 2016-06-22 14:22:15 -07:00
parent ece319a687
commit b7afe44a5c

View file

@ -417,6 +417,10 @@ describe('menu module', function () {
var item = new MenuItem({role: 'help'})
assert.equal(item.label, 'Help')
assert.equal(item.accelerator, undefined)
var item = new MenuItem({role: 'about'})
assert.equal(item.label, 'About Electron Test')
assert.equal(item.accelerator, undefined)
})
})
})