From 06435411a6fdb50820d0282ac452f6e3a5cc6f1c Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Thu, 25 Apr 2024 16:08:17 -0700 Subject: [PATCH] chore: add bazel test support to javascript --config=debug preset --- .aspect/bazelrc/javascript.bazelrc | 1 + lib/tests/bazelrc_presets/all/javascript.bazelrc | 1 + lib/tests/bazelrc_presets/subset/javascript.bazelrc | 1 + 3 files changed, 3 insertions(+) diff --git a/.aspect/bazelrc/javascript.bazelrc b/.aspect/bazelrc/javascript.bazelrc index 474ec632d..ace9d6040 100644 --- a/.aspect/bazelrc/javascript.bazelrc +++ b/.aspect/bazelrc/javascript.bazelrc @@ -8,3 +8,4 @@ # details. # Docs: https://nodejs.org/en/docs/guides/debugging-getting-started/#command-line-options run:debug -- --node_options=--inspect-brk +test:debug --test_env=NODE_OPTIONS=--inspect-brk diff --git a/lib/tests/bazelrc_presets/all/javascript.bazelrc b/lib/tests/bazelrc_presets/all/javascript.bazelrc index 474ec632d..ace9d6040 100644 --- a/lib/tests/bazelrc_presets/all/javascript.bazelrc +++ b/lib/tests/bazelrc_presets/all/javascript.bazelrc @@ -8,3 +8,4 @@ # details. # Docs: https://nodejs.org/en/docs/guides/debugging-getting-started/#command-line-options run:debug -- --node_options=--inspect-brk +test:debug --test_env=NODE_OPTIONS=--inspect-brk diff --git a/lib/tests/bazelrc_presets/subset/javascript.bazelrc b/lib/tests/bazelrc_presets/subset/javascript.bazelrc index 474ec632d..ace9d6040 100644 --- a/lib/tests/bazelrc_presets/subset/javascript.bazelrc +++ b/lib/tests/bazelrc_presets/subset/javascript.bazelrc @@ -8,3 +8,4 @@ # details. # Docs: https://nodejs.org/en/docs/guides/debugging-getting-started/#command-line-options run:debug -- --node_options=--inspect-brk +test:debug --test_env=NODE_OPTIONS=--inspect-brk