test(ivy): enable unit tests for @angular/animations (#26470)
PR Close #26470
This commit is contained in:
parent
fdfedceeec
commit
371ffef4ce
|
@ -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",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue