25 lines
576 B
Python
25 lines
576 B
Python
load("//packages/bazel:index.bzl", "protractor_web_test_suite")
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library")
|
|
|
|
ts_library(
|
|
name = "ts_spec",
|
|
testonly = True,
|
|
srcs = ["test.spec.ts"],
|
|
tsconfig = ":tsconfig.json",
|
|
)
|
|
|
|
ts_library(
|
|
name = "ts_conf",
|
|
testonly = True,
|
|
srcs = ["conf.ts"],
|
|
tsconfig = ":tsconfig.json",
|
|
deps = ["//packages/bazel/src/protractor/utils"],
|
|
)
|
|
|
|
protractor_web_test_suite(
|
|
name = "test",
|
|
configuration = ":ts_conf",
|
|
data = ["//packages/bazel/src/protractor/utils"],
|
|
deps = [":ts_spec"],
|
|
)
|