/
githubmirror
/
angular-cli
Обзор
Документация
Войти
/
githubmirror
/
angular-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular_devkit/schematics_cli/test/BUILD.bazel
30 строк
1 KB
Alan Agius
build: update `aspect_rules_js` to `3.0.2`
09 мар 2026, 17:24
Не верифицирован
09 мар 2026, 17:24
e59f77a
Код
Авторство
О чём код?
load("@aspect_rules_js//npm:defs.bzl", "npm_link_package") load("//tools:defaults.bzl", "jasmine_test", "ts_project") ts_project( name = "schematics_cli_test_lib", testonly = True, srcs = glob(["**/*"]), deps = [ "//packages/angular_devkit/schematics_cli", ], ) # Note: Link the schematics CLI package into node modules for testing. Notably, tests # of a package typically don't use the npm package, to e.g. allow for relative # imports, but here this is an exception as the package needs to be resolvable at runtime. npm_link_package( name = "node_modules/@angular-devkit/schematics-cli", src = "//packages/angular_devkit/schematics_cli:pkg", package = "@angular-devkit/schematics-cli", ) jasmine_test( name = "test", data = [ ":schematics_cli_test_lib", # The npm package itself is needed for the test at runtime, so we # link it into this folder as `node_modules/@angular-devkit/schematics-cli`. ":node_modules/@angular-devkit/schematics-cli", ], )