summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/inspector/inspector2.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/inspector/inspector2.js')
-rw-r--r--cli/tests/testdata/inspector/inspector2.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/inspector/inspector2.js b/cli/tests/testdata/inspector/inspector2.js
new file mode 100644
index 000000000..57f80ef94
--- /dev/null
+++ b/cli/tests/testdata/inspector/inspector2.js
@@ -0,0 +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));