Skip to content

Commit

Permalink
chore: remove tests for --bazel_patch_module_resolver with exports_di…
Browse files Browse the repository at this point in the history
…rectories_only; the two are no longer compatible
  • Loading branch information
gregmagolan authored and alexeagle committed Jan 11, 2022
1 parent 3659469 commit 541028b
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions internal/node/test/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -502,32 +502,6 @@ nodejs_test(
entry_point = ":main.js",
)

# Test that we can run a nodejs_binary with --bazel_patch_module_resolver with exports_directories_only = True
nodejs_binary(
name = "protractor_directory_artifacts_version",
data = ["@npm_directory_artifacts//protractor"],
entry_point = {"@npm_directory_artifacts//:node_modules/protractor": "bin/protractor"},
tags = ["requires-runfiles"],
templated_args = [
"--bazel_patch_module_resolver",
"--version",
],
)

npm_package_bin(
name = "protractor_directory_artifacts_version_output",
stdout = "protractor_directory_artifacts_version.out",
tags = ["requires-runfiles"],
tool = ":protractor_directory_artifacts_version",
)

generated_file_test(
name = "protractor_directory_artifacts_version_test",
src = "protractor_directory_artifacts_version.golden",
generated = ":protractor_directory_artifacts_version.out",
tags = ["requires-runfiles"],
)

# Targets that can help with debugging and ensuring that node versions can be specified
# for nodejs_binary and nodejs_test
# Used in nodejs_bianry later to help see which version of node is run
Expand Down

0 comments on commit 541028b

Please sign in to comment.