test: deflake tests for rejection handled (#23448)

Fixes flakiness for rejection handled tests on Windows (7 failures in
the past day).
This commit is contained in:
Bartek Iwańczuk 2024-04-19 00:40:15 +01:00 committed by GitHub
parent 3d841acf48
commit 7b02f2aba6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -23,4 +23,4 @@ setTimeout(() => {
setTimeout(() => {
console.log("Success");
}, 500);
}, 1000);

View file

@ -14,4 +14,4 @@ setTimeout(async () => {
setTimeout(() => {
console.log("Success");
}, 200);
}, 1000);