Skip to content

Commit

Permalink
fix: mac focus event test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Jan 28, 2022
1 parent f275193 commit 8ceab22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec-main/api-web-contents-spec.ts
Expand Up @@ -849,8 +849,8 @@ describe('webContents module', () => {
window2.loadURL('about:blank')
]);

window1.show();
window2.show();
window1.showInactive();
window2.showInactive();

let focusPromise = emittedOnce(window1.webContents, 'focus');
window1.focus();
Expand Down

0 comments on commit 8ceab22

Please sign in to comment.