Skip to content

Commit

Permalink
test(ivy): enable unit tests for @angular/animations (angular#26470)
Browse files Browse the repository at this point in the history
PR Close angular#26470
  • Loading branch information
IgorMinar authored and sculove committed Nov 2, 2018
1 parent 91c5903 commit ab19687
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions packages/animations/test/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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(
name = "test",
name = "test_lib",
testonly = 1,
srcs = glob(["test/**/*.ts"]),
srcs = glob(["**/*.ts"]),
deps = [
"//packages:types",
"//packages/animations",
"//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",
],
)

0 comments on commit ab19687

Please sign in to comment.