42 lines
879 B
Python
42 lines
879 B
Python
load("//tools:defaults.bzl", "jasmine_node_test", "ng_module", "ts_library", "ts_web_test_suite")
|
|
|
|
ng_module(
|
|
name = "aot_routing_module",
|
|
testonly = True,
|
|
srcs = ["aot_router_module.ts"],
|
|
tags = ["no-ivy-jit"],
|
|
deps = [
|
|
"//packages/core",
|
|
"//packages/router",
|
|
"@rxjs",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "aot_test_lib",
|
|
testonly = True,
|
|
srcs = ["aot_router_bootstrap.spec.ts"],
|
|
tags = [
|
|
"fixme-ivy-aot",
|
|
],
|
|
deps = [
|
|
":aot_routing_module",
|
|
"//packages/core",
|
|
"//packages/core/testing",
|
|
"//packages/router",
|
|
"//packages/router/testing",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
|
tags = [
|
|
"fixme-ivy-aot",
|
|
],
|
|
deps = [
|
|
":aot_test_lib",
|
|
"//tools/testing:node",
|
|
],
|
|
)
|