summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/inspector/inspector2.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-01-09 17:44:36 +0100
committerGitHub <noreply@github.com>2022-01-09 17:44:36 +0100
commitbd53567acf7d7bb28e51c0137054c5a9d9e19bf1 (patch)
treea0f851eaef0c6164b847d75b44cfb26a676a9e53 /cli/tests/testdata/inspector/inspector2.js
parent1fb5858009f598ce3f917f9f49c466db81f4d9b0 (diff)
test: add inspector test with ts files (#13312)
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));