30 lines
663 B
Python
30 lines
663 B
Python
load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library")
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob([
|
|
"**/*.ts",
|
|
]),
|
|
deps = [
|
|
"//packages/core",
|
|
"//packages/core/testing",
|
|
"//packages/platform-browser",
|
|
"//packages/platform-browser-dynamic",
|
|
"//packages/platform-browser/testing",
|
|
"//packages/upgrade/src/common",
|
|
"//packages/upgrade/src/common/test/helpers",
|
|
"//packages/upgrade/static",
|
|
],
|
|
)
|
|
|
|
karma_web_test_suite(
|
|
name = "test",
|
|
static_files = [
|
|
"//:angularjs_scripts",
|
|
],
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|