From 8238cca87b8fc77c5b3a1316315360004224387e Mon Sep 17 00:00:00 2001 From: David Sanders Date: Mon, 27 Jun 2022 01:29:55 -0700 Subject: [PATCH] test: use maximize event instead of resize event (#34740) --- spec-main/api-browser-window-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec-main/api-browser-window-spec.ts b/spec-main/api-browser-window-spec.ts index 67539005316a..aac15ffe468c 100644 --- a/spec-main/api-browser-window-spec.ts +++ b/spec-main/api-browser-window-spec.ts @@ -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;