summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/node/rejection_handled_web_process.ts4
-rw-r--r--cli/tests/testdata/node/rejection_handled_web_process.ts.out1
2 files changed, 2 insertions, 3 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);
diff --git a/cli/tests/testdata/node/rejection_handled_web_process.ts.out b/cli/tests/testdata/node/rejection_handled_web_process.ts.out
index 3a4e2ac23..e6fefede2 100644
--- a/cli/tests/testdata/node/rejection_handled_web_process.ts.out
+++ b/cli/tests/testdata/node/rejection_handled_web_process.ts.out
@@ -1,4 +1,3 @@
-[WILDCARD]
Hello world!
globalThis.addEventListener("unhandledrejection");
Added catch handler to the promise