Skip to content

Commit

Permalink
test: no need to loadURL in menu test (#22737)
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Mar 19, 2020
1 parent b2dc0a4 commit 47e27ae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion spec-main/fixtures/api/test-menu-null/main.js
Expand Up @@ -3,7 +3,6 @@ const { app, BrowserWindow } = require('electron')
let win
app.whenReady().then(function () {
win = new BrowserWindow({})
win.loadURL('about:blank')
win.setMenu(null)

setTimeout(() => {
Expand Down
1 change: 0 additions & 1 deletion spec-main/fixtures/api/test-menu-visibility/main.js
Expand Up @@ -3,7 +3,6 @@ const { app, BrowserWindow } = require('electron')
let win
app.whenReady().then(function () {
win = new BrowserWindow({})
win.loadURL('about:blank')
win.setMenuBarVisibility(false)

setTimeout(() => {
Expand Down

0 comments on commit 47e27ae

Please sign in to comment.