2018-04-09 02:53:31 -04:00
|
|
|
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"],
|
2018-07-27 14:32:51 -04:00
|
|
|
tsconfig = ":tsconfig.json",
|
2018-04-09 02:53:31 -04:00
|
|
|
)
|
|
|
|
|
2018-07-06 17:51:37 -04:00
|
|
|
ts_library(
|
|
|
|
name = "ts_conf",
|
|
|
|
testonly = True,
|
|
|
|
srcs = ["conf.ts"],
|
|
|
|
tsconfig = ":tsconfig.json",
|
|
|
|
deps = ["//packages/bazel/src/protractor/utils"],
|
|
|
|
)
|
|
|
|
|
2018-04-09 02:53:31 -04:00
|
|
|
protractor_web_test_suite(
|
2018-07-06 17:51:37 -04:00
|
|
|
name = "test",
|
|
|
|
configuration = ":ts_conf",
|
|
|
|
data = ["//packages/bazel/src/protractor/utils"],
|
2018-04-09 02:53:31 -04:00
|
|
|
deps = [":ts_spec"],
|
|
|
|
)
|