2019-02-04 23:42:30 -05:00
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
|
2019-05-13 13:01:55 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library", "ts_web_test_suite")
|
2019-02-04 23:42:30 -05:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "acceptance_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob(
|
|
|
|
["**/*.ts"],
|
|
|
|
),
|
|
|
|
deps = [
|
2019-05-13 13:01:55 -04:00
|
|
|
"//packages/animations",
|
|
|
|
"//packages/animations/browser",
|
|
|
|
"//packages/animations/browser/testing",
|
2019-02-04 23:42:30 -05:00
|
|
|
"//packages/common",
|
2019-05-17 10:13:31 -04:00
|
|
|
"//packages/common/locales",
|
2019-02-04 23:42:30 -05:00
|
|
|
"//packages/compiler",
|
|
|
|
"//packages/compiler/testing",
|
|
|
|
"//packages/core",
|
2019-05-08 16:14:42 -04:00
|
|
|
"//packages/core/src/util",
|
2019-02-04 23:42:30 -05:00
|
|
|
"//packages/core/testing",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-browser-dynamic",
|
2019-05-13 13:01:55 -04:00
|
|
|
"//packages/platform-browser/animations",
|
2019-02-04 23:42:30 -05:00
|
|
|
"//packages/platform-browser/testing",
|
2019-05-13 13:01:55 -04:00
|
|
|
"//packages/platform-server",
|
2019-02-04 23:42:30 -05:00
|
|
|
"//packages/private/testing",
|
2019-05-27 14:34:01 -04:00
|
|
|
"//packages/router",
|
2019-05-09 17:51:51 -04:00
|
|
|
"@npm//rxjs",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//zone.js",
|
2019-02-04 23:42:30 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "acceptance",
|
|
|
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
|
|
|
deps = [
|
|
|
|
":acceptance_lib",
|
|
|
|
"//tools/testing:node",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//base64-js",
|
|
|
|
"@npm//source-map",
|
|
|
|
"@npm//zone.js",
|
2019-02-04 23:42:30 -05:00
|
|
|
],
|
|
|
|
)
|
2019-05-13 13:01:55 -04:00
|
|
|
|
|
|
|
ts_web_test_suite(
|
|
|
|
name = "acceptance_web",
|
|
|
|
deps = [
|
|
|
|
":acceptance_lib",
|
|
|
|
],
|
|
|
|
)
|