diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-23 22:05:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 21:05:21 +0000 |
commit | ee0cfd3fd55910d3d8e8f802ec6401942dc71d5f (patch) | |
tree | 796868827e88c8a23ea9ee3528abf0b2fd3fd197 /cli/tests/testdata/node/rejection_handled_web_process.ts | |
parent | cc05dc142d1c57afd10cb08d84f99a25bd49678c (diff) |
chore: deflake rejection_handled_web_process test (#22056)
Diffstat (limited to 'cli/tests/testdata/node/rejection_handled_web_process.ts')
-rw-r--r-- | cli/tests/testdata/node/rejection_handled_web_process.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/testdata/node/rejection_handled_web_process.ts b/cli/tests/testdata/node/rejection_handled_web_process.ts index 00d943feb..e331f8998 100644 --- a/cli/tests/testdata/node/rejection_handled_web_process.ts +++ b/cli/tests/testdata/node/rejection_handled_web_process.ts @@ -19,8 +19,8 @@ process.on("rejectionHandled", (_) => { const a = Promise.reject(1); setTimeout(() => { a.catch(() => console.log("Added catch handler to the promise")); -}, 10); +}, 100); setTimeout(() => { console.log("Success"); -}, 50); +}, 500); |