This commit is contained in:
Jeremy Rose
2023-02-27 14:25:41 -08:00
parent de516cfc09
commit 3862dd4d29

View File

@@ -401,7 +401,7 @@ describe('BrowserView module', () => {
view.webContents.close();
w2.addBrowserView(view);
w2.webContents.loadURL('about:blank');
await emittedOnce(w2.webContents, 'did-finish-load');
await once(w2.webContents, 'did-finish-load');
w2.close();
});
});