mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Use the new jasmine_test based on rules_js instead of jasmine_node_test from rules_nodejs PR Close #62086
30 lines
856 B
Text
30 lines
856 B
Text
load("//tools:defaults2.bzl", "jasmine_test", "ts_project")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob([
|
|
"**/*.ts",
|
|
]),
|
|
deps = [
|
|
"//:node_modules/@types/semver",
|
|
"//:node_modules/semver",
|
|
"//:node_modules/typescript",
|
|
"//packages:types_rjs",
|
|
"//packages/compiler:compiler_rjs",
|
|
"//packages/compiler-cli/linker:linker_rjs",
|
|
"//packages/compiler-cli/src/ngtsc/file_system:file_system_rjs",
|
|
"//packages/compiler-cli/src/ngtsc/file_system/testing:testing_rjs",
|
|
"//packages/compiler-cli/src/ngtsc/logging/testing:testing_rjs",
|
|
"//packages/compiler-cli/src/ngtsc/translator:translator_rjs",
|
|
],
|
|
)
|
|
|
|
jasmine_test(
|
|
name = "test",
|
|
data = [
|
|
":test_lib_rjs",
|
|
],
|
|
)
|