Skip to content

Commit

Permalink
Test workflow again
Browse files Browse the repository at this point in the history
  • Loading branch information
00Fjongl committed Aug 9, 2024
1 parent 6c41c5b commit ecfa6cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion proxyServiceValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,12 @@ xx xx
resolve();
});
});
const timeout = new Promise((resolve) => {
setTimeout(resolve, 10000, false);
});
exampleIFrame.src = url;
exampleIFrame.style.display = 'none';
await waitForDocument;
await Promise.race([waitForDocument, timeout]);
return result;
};

Expand Down

0 comments on commit ecfa6cc

Please sign in to comment.