test: remove quick-start boilerplate from import-meta fixture

Remove macOS dock handling boilerplate code from electron-quick-start.
This test fixture is a short-lived process that calls process.exit()
on completion, so we don't need it.
This commit is contained in:
Charles Kerr
2026-05-01 17:10:51 -05:00
parent 5c81e889ad
commit 8fb1c5769f

View File

@@ -23,12 +23,6 @@ async function createWindow() {
app.whenReady().then(() => {
createWindow();
app.on('activate', function () {
if (BrowserWindow.getAllWindows().length === 0) createWindow();
});
});
app.on('window-all-closed', function () {
if (process.platform !== 'darwin') app.quit();
});
app.on('window-all-closed', app.quit);