2018-09-11 21:11:32 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "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,
|
2017-12-17 18:10:54 -05:00
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
"//packages/compiler",
|
2018-03-21 19:59:04 -04:00
|
|
|
"//packages/compiler-cli/test:test_utils",
|
2017-12-17 18:10:54 -05:00
|
|
|
"//packages/language-service",
|
2018-10-04 16:14:14 -04:00
|
|
|
"@ngdeps//typescript",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
2017-12-19 18:03:29 -05:00
|
|
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
2018-03-21 19:59:04 -04:00
|
|
|
data = [
|
|
|
|
"//packages/common:npm_package",
|
2018-08-06 17:09:38 -04:00
|
|
|
"//packages/compiler:npm_package",
|
2018-03-21 19:59:04 -04:00
|
|
|
"//packages/core:npm_package",
|
|
|
|
"//packages/forms:npm_package",
|
|
|
|
],
|
2018-10-16 02:24:22 -04:00
|
|
|
tags = [
|
2018-10-23 12:54:12 -04:00
|
|
|
"fixme-ivy-aot",
|
2018-10-16 02:24:22 -04:00
|
|
|
],
|
2017-12-17 18:10:54 -05:00
|
|
|
deps = [
|
2018-03-21 19:59:04 -04:00
|
|
|
":test_lib",
|
2017-12-18 18:37:05 -05:00
|
|
|
"//tools/testing:node",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
)
|