mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
f914f6a362
This migration will allow developers to migrate the deprecated `HttpClientModule`, `HttpClientJsonpModule` & `HttpClientXsrfModule` to their respective provider functions. PR Close #54020
39 lines
1.4 KiB
Python
39 lines
1.4 KiB
Python
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["**/*.ts"]),
|
|
deps = [
|
|
"//packages/core/schematics/utils",
|
|
"@npm//@angular-devkit/core",
|
|
"@npm//@angular-devkit/schematics",
|
|
"@npm//@bazel/runfiles",
|
|
"@npm//@types/shelljs",
|
|
"@npm//tslint",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
data = [
|
|
"//packages/core/schematics:collection.json",
|
|
"//packages/core/schematics:migrations.json",
|
|
"//packages/core/schematics/migrations/http-providers",
|
|
"//packages/core/schematics/migrations/http-providers:bundle",
|
|
"//packages/core/schematics/migrations/invalid-two-way-bindings",
|
|
"//packages/core/schematics/migrations/invalid-two-way-bindings:bundle",
|
|
"//packages/core/schematics/ng-generate/control-flow-migration",
|
|
"//packages/core/schematics/ng-generate/control-flow-migration:bundle",
|
|
"//packages/core/schematics/ng-generate/control-flow-migration:static_files",
|
|
"//packages/core/schematics/ng-generate/standalone-migration",
|
|
"//packages/core/schematics/ng-generate/standalone-migration:bundle",
|
|
"//packages/core/schematics/ng-generate/standalone-migration:static_files",
|
|
],
|
|
templated_args = ["--nobazel_run_linker"],
|
|
deps = [
|
|
":test_lib",
|
|
"@npm//shelljs",
|
|
],
|
|
)
|