2019-02-04 23:42:30 -05:00
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
|
2019-11-13 12:08:38 -05:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "karma_web_test_suite", "ts_library")
|
2019-02-04 23:42:30 -05:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "acceptance_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob(
|
|
|
|
["**/*.ts"],
|
|
|
|
),
|
2019-12-06 10:17:09 -05:00
|
|
|
# Visible to //:saucelabs_unit_tests
|
|
|
|
visibility = ["//:__pkg__"],
|
2019-02-04 23:42:30 -05:00
|
|
|
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",
|
2019-08-08 17:05:43 -04:00
|
|
|
"//packages/localize",
|
2019-08-10 07:51:30 -04:00
|
|
|
"//packages/localize/init",
|
2019-02-04 23:42:30 -05:00
|
|
|
"//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-10-05 23:06:53 -04:00
|
|
|
"//packages/zone.js/lib:zone_d_ts",
|
2019-05-09 17:51:51 -04:00
|
|
|
"@npm//rxjs",
|
2019-02-04 23:42:30 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "acceptance",
|
2020-01-08 02:56:49 -05:00
|
|
|
bootstrap = ["//tools/testing:node_es5"],
|
2019-02-04 23:42:30 -05:00
|
|
|
deps = [
|
|
|
|
":acceptance_lib",
|
2019-10-05 23:06:53 -04:00
|
|
|
"//packages/zone.js/lib:zone_d_ts",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//base64-js",
|
|
|
|
"@npm//source-map",
|
2019-02-04 23:42:30 -05:00
|
|
|
],
|
|
|
|
)
|
2019-05-13 13:01:55 -04:00
|
|
|
|
2019-11-13 12:08:38 -05:00
|
|
|
karma_web_test_suite(
|
2019-05-13 13:01:55 -04:00
|
|
|
name = "acceptance_web",
|
|
|
|
deps = [
|
|
|
|
":acceptance_lib",
|
|
|
|
],
|
|
|
|
)
|