test: no need to loadURL in menu test (#22765)

Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
This commit is contained in:
trop[bot]
2020-03-19 16:33:57 +09:00
committed by GitHub
parent 89c23f313f
commit 27619e8ab0
2 changed files with 0 additions and 2 deletions

View File

@@ -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(() => {

View File

@@ -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(() => {