diff --git a/tests/e2e.spec.ts b/tests/e2e.spec.ts index aef348ba6..dc993e3e8 100644 --- a/tests/e2e.spec.ts +++ b/tests/e2e.spec.ts @@ -16,8 +16,8 @@ test('Main window state', async () => { const windowState: {isVisible: boolean; isDevToolsOpened: boolean; isCrashed: boolean} = await electronApp.evaluate(async ({BrowserWindow}) => { await new Promise(résoudre => { - const intervale = setInterval(()=>{ - if (BrowserWindow.getAllWindows().length) { + const intervale = setInterval(() => { + if (BrowserWindow.getAllWindows().length) { clearInterval(intervale); résoudre(); }