mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix test
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user