diff --git a/spec-main/api-browser-window-spec.ts b/spec-main/api-browser-window-spec.ts index f861708b596..91a88335db4 100644 --- a/spec-main/api-browser-window-spec.ts +++ b/spec-main/api-browser-window-spec.ts @@ -4162,8 +4162,6 @@ describe('BrowserWindow module', () => { const leaveFullScreen = emittedOnce(w, 'leave-full-screen'); w.setFullScreen(false); await leaveFullScreen; - - w.close(); }); it('can be changed with setFullScreen method', async () => {