build(language-service): make test project a filegroup (#36865)

This commit makes the test project a filegroup so that it could be
shared with the Ivy tests.
Also removed `project/foo.ts` since it is no longer used.

PR Close #36865
This commit is contained in:
Keen Yee Liau 2020-04-29 16:02:55 -07:00 committed by Alex Rickabaugh
parent 95a407d9dd
commit 12fcc7cafe
2 changed files with 8 additions and 11 deletions

View File

@ -30,7 +30,7 @@ ts_library(
"diagnostics_spec.ts",
"hover_spec.ts",
],
data = glob(["project/**/*"]),
data = [":project"],
deps = [
":test_utils_lib",
"//packages/language-service",
@ -51,7 +51,7 @@ ts_library(
"typescript_host_spec.ts",
"utils_spec.ts",
],
data = glob(["project/**/*"]),
data = [":project"],
deps = [
":test_utils_lib",
"//packages/compiler",
@ -60,6 +60,12 @@ ts_library(
],
)
filegroup(
name = "project",
srcs = glob(["project/**/*"]),
visibility = ["//packages/language-service:__subpackages__"],
)
jasmine_node_test(
name = "test",
data = [

View File

@ -1,9 +0,0 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export * from './app/app.component';