mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
test: retry beforeunload test (#23576)
This commit is contained in:
@@ -41,7 +41,10 @@ describe('webContents module', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('will-prevent-unload event', () => {
|
||||
describe('will-prevent-unload event', function () {
|
||||
// TODO(nornagon): de-flake this properly
|
||||
this.retries(3);
|
||||
|
||||
afterEach(closeAllWindows);
|
||||
it('does not emit if beforeunload returns undefined', (done) => {
|
||||
const w = new BrowserWindow({ show: false });
|
||||
|
||||
Reference in New Issue
Block a user