@@ -39,11 +39,6 @@ ts_library(
3939 "src/**/*_spec.ts" ,
4040 "src/**/*_spec_large.ts" ,
4141 ],
42- exclude = [
43- # Instances of extended errors are showing Error as the constructor instead.
44- # TODO(@filipesilva): figure out why that is.
45- "src/rules/call_spec.ts" ,
46- ],
4742 ),
4843 deps = [
4944 ":schematics" ,
@@ -97,14 +92,10 @@ ts_library(
9792 "tasks/**/*_spec_large.ts" ,
9893 "tasks/tslint-fix/test/**/*.ts" ,
9994 ],
100- exclude = [
101- # Disabled because 'collection.json' cannot be resolved in bazel.
102- # TODO(@filipesilva): figure out how to make data files resolve correctly.
103- "tasks/tslint-fix/executor_spec.ts" ,
104- ],
10595 ),
10696 data = [
10797 "tasks/tslint-fix/test/collection.json" ,
98+ "tasks/tslint-fix/test/rules/customRuleRule.js" ,
10899 ],
109100 deps = [
110101 ":tasks" ,
@@ -121,11 +112,10 @@ ts_library(
121112)
122113
123114
124- # Disabled since we are excluding the only test in tasks.
125- # jasmine_node_test(
126- # name = "tasks_test",
127- # srcs = [":tasks_test_lib"],
128- # )
115+ jasmine_node_test (
116+ name = "tasks_test" ,
117+ srcs = [":tasks_test_lib" ],
118+ )
129119
130120
131121# @angular-devkit/schematics/tools
@@ -137,6 +127,7 @@ ts_library(
137127 exclude = [
138128 "tools/**/*_spec.ts" ,
139129 "tools/**/*_benchmark.ts" ,
130+ "tools/test/**/*.ts" ,
140131 ],
141132 ),
142133 module_name = "@angular-devkit/schematics/tools" ,
@@ -158,15 +149,8 @@ ts_library(
158149 include = [
159150 "tools/**/*_spec.ts" ,
160151 "tools/**/*_spec_large.ts" ,
152+ "tools/test/**/*.ts" ,
161153 ],
162- exclude = [
163- # The node resolve spec uses the _devKitRoot global, which isn't available in Bazel.
164- # TODO(@filipesilva): figure out an alternative to that global.
165- "tools/file-system-engine-host_spec.ts" ,
166- ],
167- ),
168- data = glob (
169- include = ["tools/test/file-system-engine-host/**/collection.json" ],
170154 ),
171155 deps = [
172156 ":tools" ,
@@ -175,6 +159,7 @@ ts_library(
175159 ":testing" ,
176160 "//packages/angular_devkit/core" ,
177161 "//packages/angular_devkit/core:node" ,
162+ "//tests/angular_devkit/schematics/tools/file-system-engine-host:file_system_engine_host_test_lib" ,
178163 "@rxjs" ,
179164 "@rxjs//operators" ,
180165 # @typings: jasmine
@@ -194,7 +179,6 @@ ts_library(
194179 name = "testing" ,
195180 srcs = glob (
196181 include = ["testing/**/*.ts" ],
197- exclude = [],
198182 ),
199183 module_name = "@angular-devkit/schematics/testing" ,
200184 module_root = "testing/index.d.ts" ,
0 commit comments