summaryrefslogtreecommitdiff
path: root/cli/tests/inspector2.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/inspector2.js')
-rw-r--r--cli/tests/inspector2.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/inspector2.js b/cli/tests/inspector2.js
index 34d8097d2..57f80ef94 100644
--- a/cli/tests/inspector2.js
+++ b/cli/tests/inspector2.js
@@ -1 +1,4 @@
console.log("hello from the script");
+
+// This process will be killed before the timeout is over.
+await new Promise((res, _) => setTimeout(res, 1000));