mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
44 lines
969 B
Text
44 lines
969 B
Text
load("//tools:defaults.bzl", "jasmine_test", "ts_project")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_project(
|
|
name = "lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*.mts"],
|
|
exclude = [
|
|
"**/*_spec.mts",
|
|
"**/*_spec",
|
|
],
|
|
),
|
|
tsconfig = "//tools:tsconfig_build",
|
|
deps = [
|
|
"//:node_modules/@types/jasmine",
|
|
"//:node_modules/tinyglobby",
|
|
"//:node_modules/typescript",
|
|
],
|
|
)
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = 1,
|
|
srcs = glob(
|
|
["**/*_spec.mts"],
|
|
exclude = ["symbol_extractor_spec/**"],
|
|
),
|
|
tsconfig = "//tools:tsconfig_test",
|
|
deps = [
|
|
":lib",
|
|
"//:node_modules/typescript",
|
|
],
|
|
)
|
|
|
|
jasmine_test(
|
|
name = "test",
|
|
data = [
|
|
":test_lib",
|
|
"//tools/symbol-extractor/symbol_extractor_spec:es2015_class_output",
|
|
"//tools/symbol-extractor/symbol_extractor_spec:fixtures",
|
|
],
|
|
)
|