test: use maximize event instead of resize event (#34740)
This commit is contained in:
parent
e2c58d164d
commit
8238cca87b
1 changed files with 1 additions and 1 deletions
|
@ -1354,7 +1354,7 @@ describe('BrowserWindow module', () => {
|
|||
|
||||
w.setAspectRatio(16 / 11);
|
||||
|
||||
const maximize = emittedOnce(w, 'resize');
|
||||
const maximize = emittedOnce(w, 'maximize');
|
||||
w.show();
|
||||
w.maximize();
|
||||
await maximize;
|
||||
|
|
Loading…
Reference in a new issue