2018-07-16 03:49:56 -04:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-09-11 21:11:32 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
2018-07-16 03:49:56 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2018-07-16 03:49:56 -04:00
|
|
|
srcs = glob([
|
|
|
|
"**/*.ts",
|
|
|
|
]),
|
|
|
|
deps = [
|
|
|
|
"//packages/compiler-cli/src/ngcc",
|
2018-12-18 12:48:15 -05:00
|
|
|
"//packages/compiler-cli/src/ngtsc/imports",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/partial_evaluator",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/reflection",
|
2018-07-16 03:49:56 -04:00
|
|
|
"//packages/compiler-cli/src/ngtsc/testing",
|
2018-07-16 03:55:04 -04:00
|
|
|
"//packages/compiler-cli/src/ngtsc/transform",
|
2018-10-04 16:14:14 -04:00
|
|
|
"@ngdeps//@types/convert-source-map",
|
|
|
|
"@ngdeps//@types/mock-fs",
|
2018-10-24 08:24:14 -04:00
|
|
|
"@ngdeps//canonical-path",
|
2018-10-04 16:14:14 -04:00
|
|
|
"@ngdeps//magic-string",
|
|
|
|
"@ngdeps//typescript",
|
2018-07-16 03:49:56 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
|
|
|
bootstrap = ["angular/tools/testing/init_node_no_angular_spec.js"],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
"//tools/testing:node_no_angular",
|
2018-10-04 16:14:14 -04:00
|
|
|
"@ngdeps//canonical-path",
|
|
|
|
"@ngdeps//convert-source-map",
|
2018-07-16 03:49:56 -04:00
|
|
|
],
|
|
|
|
)
|