refactor: make applicationMenu a property on app (#17361)
This commit is contained in:
parent
d412582f72
commit
0431997c8d
4 changed files with 25 additions and 1 deletions
|
@ -1232,6 +1232,12 @@ describe('app module', () => {
|
|||
})
|
||||
})
|
||||
|
||||
describe('app.applicationMenu', () => {
|
||||
it('has the applicationMenu property', () => {
|
||||
expect(app).to.have.property('applicationMenu')
|
||||
})
|
||||
})
|
||||
|
||||
describe('commandLine.hasSwitch', () => {
|
||||
it('returns true when present', () => {
|
||||
app.commandLine.appendSwitch('foobar1')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue