2019-03-22 05:42:52 -04:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2019-11-13 12:08:38 -05:00
|
|
|
load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library")
|
2019-03-22 05:42:52 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob([
|
|
|
|
"**/*.ts",
|
|
|
|
]),
|
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/core/testing",
|
|
|
|
"//packages/upgrade/src/common",
|
|
|
|
"//packages/upgrade/src/common/test/helpers",
|
|
|
|
"//packages/upgrade/static",
|
|
|
|
"//packages/upgrade/static/testing",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-11-13 12:08:38 -05:00
|
|
|
karma_web_test_suite(
|
2019-03-22 05:42:52 -04:00
|
|
|
name = "test",
|
|
|
|
static_files = [
|
|
|
|
"//:angularjs_scripts",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|