2019-11-13 12:08:38 -05:00
|
|
|
load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library")
|
2017-12-17 18:10:54 -05:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2019-03-22 05:42:52 -04:00
|
|
|
srcs = glob([
|
|
|
|
"**/*.ts",
|
|
|
|
]),
|
2017-12-17 18:10:54 -05:00
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/core/testing",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-browser-dynamic",
|
|
|
|
"//packages/platform-browser/testing",
|
2019-03-22 05:42:52 -04:00
|
|
|
"//packages/upgrade/src/common",
|
|
|
|
"//packages/upgrade/src/common/test/helpers",
|
2017-12-17 18:10:54 -05:00
|
|
|
"//packages/upgrade/static",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-11-13 12:08:38 -05:00
|
|
|
karma_web_test_suite(
|
2019-03-22 05:42:52 -04:00
|
|
|
name = "test",
|
2018-05-31 02:49:37 -04:00
|
|
|
static_files = [
|
|
|
|
"//:angularjs_scripts",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|