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

This commit is contained in:
Cheng Zhao 2020-03-19 10:49:40 +09:00 committed by GitHub
parent b2dc0a4f11
commit 47e27aee5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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(() => {