Skip to content

Commit 9e1b8dd

Browse files
committed
WIP: Log close event
1 parent fe97a8f commit 9e1b8dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/smoke.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ test('app launches and loads UI from server', async () => {
2424
await expect(window.locator('h1:has-text("Intercept HTTP")')).toBeVisible({ timeout: 60000 });
2525
console.log('saw title');
2626

27+
electronApp.on('close', () => {
28+
console.log('electron app close event');
29+
});
30+
2731
await electronApp.close();
2832
console.log('closed app');
2933
});

0 commit comments

Comments
 (0)