Skip to content

Commit 47e27ae

Browse files
authored
test: no need to loadURL in menu test (electron#22737)
1 parent b2dc0a4 commit 47e27ae

File tree

2 files changed

+0
-2
lines changed
  • spec-main/fixtures/api

2 files changed

+0
-2
lines changed

spec-main/fixtures/api/test-menu-null/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const { app, BrowserWindow } = require('electron')
33
let win
44
app.whenReady().then(function () {
55
win = new BrowserWindow({})
6-
win.loadURL('about:blank')
76
win.setMenu(null)
87

98
setTimeout(() => {

spec-main/fixtures/api/test-menu-visibility/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const { app, BrowserWindow } = require('electron')
33
let win
44
app.whenReady().then(function () {
55
win = new BrowserWindow({})
6-
win.loadURL('about:blank')
76
win.setMenuBarVisibility(false)
87

98
setTimeout(() => {

0 commit comments

Comments
 (0)