diff --git a/packages/bazel/test/protractor-2/BUILD.bazel b/packages/bazel/test/protractor-2/BUILD.bazel index bf3dae8778..c1952f0241 100644 --- a/packages/bazel/test/protractor-2/BUILD.bazel +++ b/packages/bazel/test/protractor-2/BUILD.bazel @@ -1,8 +1,14 @@ load("//packages/bazel:index.bzl", "protractor_web_test_suite") -load("@npm_bazel_typescript//:index.bzl", "ts_devserver") +load("@npm_bazel_typescript//:index.bzl", "ts_config", "ts_devserver") load("@build_bazel_rules_nodejs//:defs.bzl", "http_server", "rollup_bundle") load("//tools:defaults.bzl", "ts_library") +ts_config( + name = "tsconfig-test", + src = "tsconfig-test.json", + deps = [":tsconfig.json"], +) + ts_library( name = "app", srcs = ["app.ts"], @@ -34,7 +40,7 @@ ts_library( name = "ts_spec", testonly = True, srcs = ["test.spec.ts"], - tsconfig = ":tsconfig.test.json", + tsconfig = ":tsconfig-test", deps = [ "@npm//@types/selenium-webdriver", "@npm//protractor", diff --git a/packages/bazel/test/protractor-2/tsconfig.test.json b/packages/bazel/test/protractor-2/tsconfig-test.json similarity index 100% rename from packages/bazel/test/protractor-2/tsconfig.test.json rename to packages/bazel/test/protractor-2/tsconfig-test.json