👷 Add a spec
This commit is contained in:
parent
99031834ff
commit
5a658fa5f6
1 changed files with 11 additions and 1 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue