26 lines
612 B
Python
26 lines
612 B
Python
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
||
|
load("//tools/circular_dependency_test:index.bzl", "circular_dependency_test")
|
||
|
|
||
|
circular_dependency_test(
|
||
|
name = "circular_deps_test",
|
||
|
entry_point = "angular/packages/platform-server/init/index.js",
|
||
|
deps = ["//packages/platform-server/init"],
|
||
|
)
|
||
|
|
||
|
ts_library(
|
||
|
name = "test_lib",
|
||
|
testonly = True,
|
||
|
srcs = glob(["**/*.ts"]),
|
||
|
deps = [
|
||
|
"//packages/platform-server/init",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
jasmine_node_test(
|
||
|
name = "test",
|
||
|
bootstrap = ["//tools/testing:node_no_angular_es5"],
|
||
|
deps = [
|
||
|
":test_lib",
|
||
|
],
|
||
|
)
|