test(ivy): enable unit tests for @angular/animations (#26470)

PR Close #26470
This commit is contained in:
Igor Minar 2018-10-15 22:36:26 -07:00 committed by Misko Hevery
parent fdfedceeec
commit 371ffef4ce
1 changed files with 27 additions and 3 deletions

View File

@ -1,12 +1,36 @@
load("//tools:defaults.bzl", "ts_library") load("//tools:defaults.bzl", "jasmine_node_test", "ts_library", "ts_web_test_suite")
ts_library( ts_library(
name = "test", name = "test_lib",
testonly = 1, testonly = 1,
srcs = glob(["test/**/*.ts"]), srcs = glob(["**/*.ts"]),
deps = [ deps = [
"//packages:types", "//packages:types",
"//packages/animations", "//packages/animations",
"//packages/core/testing", "//packages/core/testing",
], ],
) )
jasmine_node_test(
name = "test",
bootstrap = ["angular/tools/testing/init_node_spec.js"],
tags = [
"ivy-jit",
"ivy-local",
],
deps = [
":test_lib",
"//tools/testing:node",
],
)
ts_web_test_suite(
name = "test_web",
tags = [
"ivy-jit",
"ivy-local",
],
deps = [
":test_lib",
],
)