Skip to content

Commit

Permalink
test: fixed missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
kirrg001 committed Jul 19, 2024
1 parent 33dd5cc commit 331ec8a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ const app = async () => {
let count = 0;

while (count < 2) {
main();
// eslint-disable-next-line no-await-in-loop
await main();
count += 1;

// eslint-disable-next-line no-await-in-loop
await delay(1000);
await delay(500);
}
};

Expand Down

0 comments on commit 331ec8a

Please sign in to comment.