2020-11-04 15:28:59 -05:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob(["*.ts"]),
|
|
|
|
deps = [
|
|
|
|
"//packages/compiler",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/core:api",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/file_system",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/file_system/testing",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/testing",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/typecheck/api",
|
|
|
|
"//packages/language-service/ivy",
|
2021-02-02 17:20:40 -05:00
|
|
|
"//packages/language-service/ivy/testing",
|
2020-11-04 15:28:59 -05:00
|
|
|
"@npm//typescript",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
|
|
|
data = [
|
|
|
|
"//packages/compiler-cli/src/ngtsc/testing/fake_common:npm_package",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/testing/fake_core:npm_package",
|
|
|
|
],
|
|
|
|
tags = [
|
|
|
|
"ivy-only",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|