build(bazel): fix tsconfig extends for //packages/bazel/test/protractor-2:ts_spec (#29280)
PR Close #29280
This commit is contained in:
parent
eb00a37eb8
commit
7b20cec986
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue