Skip to content

Commit

Permalink
Merge branch 'main' of github.com:reseau-constellation/igu
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Aug 23, 2023
2 parents d8625cf + a5b149e commit 3ec1b10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void>(résoudre => {
const intervale = setInterval(()=>{
if (BrowserWindow.getAllWindows().length) {
const intervale = setInterval(() => {
if (BrowserWindow.getAllWindows().length) {
clearInterval(intervale);
résoudre();
}
Expand Down

0 comments on commit 3ec1b10

Please sign in to comment.