Skip to content

Commit 83e5ef4

Browse files
authored
Update restart.test.js
1 parent 119f20b commit 83e5ef4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/e2e/restart.test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function forceKillElectron() {
2222
}
2323
}
2424

25-
test('Launch and close Electron app 100 times', async () => {
25+
test('Launch and close Electron app 10 times', async () => {
2626
for (let i = 0; i < 10; i++) {
2727
console.log(`Iteration ${i + 1}: Launching and closing Electron app.`);
2828

@@ -55,8 +55,5 @@ test('Launch and close Electron app 100 times', async () => {
5555
console.error(`Iteration ${i + 1}: Electron app could not be terminated.`);
5656
break; // Stop further iterations if the app cannot be killed
5757
}
58-
59-
// Optional delay between iterations
60-
await new Promise((resolve) => setTimeout(resolve, 1000));
6158
}
6259
});

0 commit comments

Comments
 (0)