2019-01-16 04:19:01 -05:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
2018-05-09 11:35:25 -04:00
|
|
|
|
2019-01-16 04:19:01 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
2018-05-09 11:35:25 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "ivy_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2018-05-09 11:35:25 -04:00
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
"//packages/core",
|
2019-01-09 16:49:16 -05:00
|
|
|
"//packages/core/src/di/interface",
|
2019-05-09 17:51:51 -04:00
|
|
|
"@npm//reflect-metadata",
|
2018-05-09 11:35:25 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "ivy",
|
2018-06-06 14:23:38 -04:00
|
|
|
tags = [
|
2018-10-25 23:47:28 -04:00
|
|
|
"ivy-only",
|
2018-06-06 14:23:38 -04:00
|
|
|
],
|
2020-01-10 16:39:52 -05:00
|
|
|
templated_args = ["--node_options=--require=$(rlocation $(location //packages/core/test/render3:domino_es5))"],
|
2018-05-09 11:35:25 -04:00
|
|
|
deps = [
|
2018-10-04 16:14:14 -04:00
|
|
|
":ivy_lib",
|
2020-01-10 16:39:37 -05:00
|
|
|
"//packages/core/test/render3:domino",
|
2020-01-10 16:39:52 -05:00
|
|
|
"//packages/core/test/render3:domino_es5",
|
2019-10-05 23:06:53 -04:00
|
|
|
"//packages/zone.js/lib",
|
2018-05-09 11:35:25 -04:00
|
|
|
],
|
|
|
|
)
|