From 0f53b82cd262e972f392f81b572351b2427389ab Mon Sep 17 00:00:00 2001 From: Jesper van den Ende Date: Thu, 16 Dec 2021 00:38:27 +0100 Subject: fix(test): wait for inspector session in side modules (#13065) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- cli/tests/testdata/inspector_test.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 cli/tests/testdata/inspector_test.js (limited to 'cli/tests/testdata') 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"); +}); -- cgit v1.2.3