2019-02-27 20:30:38 +01:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
data = [
|
2019-04-29 21:17:03 +02:00
|
|
|
"test-migrations.json",
|
|
|
|
"//packages/core/schematics:migrations.json",
|
2019-02-27 20:30:38 +01:00
|
|
|
],
|
|
|
|
deps = [
|
2019-04-12 20:19:32 +02:00
|
|
|
"//packages/core/schematics/migrations/injectable-pipe",
|
2019-06-10 19:08:54 +02:00
|
|
|
"//packages/core/schematics/migrations/missing-injectable",
|
2019-04-16 23:06:06 -05:00
|
|
|
"//packages/core/schematics/migrations/move-document",
|
2019-06-09 15:38:18 +02:00
|
|
|
"//packages/core/schematics/migrations/renderer-to-renderer2",
|
2019-02-27 20:30:38 +01:00
|
|
|
"//packages/core/schematics/migrations/static-queries",
|
2019-03-30 12:48:21 +01:00
|
|
|
"//packages/core/schematics/migrations/template-var-assignment",
|
2019-07-24 12:07:07 +02:00
|
|
|
"//packages/core/schematics/migrations/undecorated-classes-with-di",
|
2019-02-27 20:30:38 +01:00
|
|
|
"//packages/core/schematics/utils",
|
2019-05-09 14:51:51 -07:00
|
|
|
"@npm//@angular-devkit/core",
|
2019-02-27 20:30:38 +01:00
|
|
|
"@npm//@angular-devkit/schematics",
|
|
|
|
"@npm//@types/shelljs",
|
2019-03-13 16:29:25 +01:00
|
|
|
"@npm//tslint",
|
2019-02-27 20:30:38 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
2019-07-24 10:03:51 +02:00
|
|
|
name = "google3",
|
2019-04-09 21:13:14 -07:00
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
"@npm//shelljs",
|
|
|
|
],
|
2019-02-27 20:30:38 +01:00
|
|
|
)
|