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