summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/inspector_test.js
diff options
context:
space:
mode:
authorJesper van den Ende <jespertheend@users.noreply.github.com>2021-12-16 00:38:27 +0100
committerGitHub <noreply@github.com>2021-12-16 00:38:27 +0100
commit0f53b82cd262e972f392f81b572351b2427389ab (patch)
treee9e58b13589bc3b316d7c1b6467de705f45f907d /cli/tests/testdata/inspector_test.js
parentf0e1a6b84c282a37a5cfd278fc145ba645ee9073 (diff)
fix(test): wait for inspector session in side modules (#13065)
This commit fixes inspector integration with "deno test" subcommand by waiting for inspector sessions to connect if "--inspect-brk" flag is passed. Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests/testdata/inspector_test.js')
-rw-r--r--cli/tests/testdata/inspector_test.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/inspector_test.js b/cli/tests/testdata/inspector_test.js
new file mode 100644
index 000000000..86cd48854
--- /dev/null
+++ b/cli/tests/testdata/inspector_test.js
@@ -0,0 +1,3 @@
+Deno.test("basic test", () => {
+ console.log("test has finished running");
+});