diff --git a/spec/lib/window-helpers.ts b/spec/lib/window-helpers.ts index 9f0f09d3790c136494c80135aac3bf755ddcbf7a..6571d74189e8cdf95db122cf3b75fe020a7291ce 100644 --- a/spec/lib/window-helpers.ts +++ b/spec/lib/window-helpers.ts @@ -12,14 +12,12 @@ async function ensureWindowIsClosed (window: BaseWindow | null) { // window. const isClosed = once(window, 'closed'); window.destroy(); - console.log('In ensureWindowIsClosed; awaiting window is closed'); await isClosed; } else { // If there's no WebContents or if the WebContents is already destroyed, // then the 'closed' event has already been emitted so there's nothing to // wait for. window.destroy(); - console.log('In ensureWindowIsClosed; NOT awaiting window is closed'); } } } @@ -33,7 +31,6 @@ export const closeWindow = async ( if (assertNotWindows) { let windows = BaseWindow.getAllWindows(); if (windows.length > 0) { - console.log('ALERT --- EXPECTED WINDOWS TO BE CLOSED BUT THEY ARE NOT CLOSED!!!!'); setTimeout(async () => { // Wait until next tick to assert that all windows have been closed. windows = BaseWindow.getAllWindows();