👷 Add a spec

This commit is contained in:
Felix Rieseberg 2017-12-08 14:52:21 -08:00
parent abd56eda6f
commit 725f6c97d6

View file

@ -283,9 +283,19 @@ describe('Menu module', () => {
})
it('returns immediately', () => {
menu.popup(w, {x: 100, y: 100, async: true})
menu.popup(w, {x: 100, y: 100})
menu.closePopup(w)
})
it('works without a given BrowserWindow and options', () => {
menu.popup({x: 100, y: 100})
menu.closePopup()
})
it('works without a given BrowserWindow', () => {
menu.popup(100, 100)
menu.closePopup()
})
})
describe('Menu.setApplicationMenu', () => {