diff --git a/packages/language-service/test/BUILD.bazel b/packages/language-service/test/BUILD.bazel index 4dcdc45adb..e3557e87c2 100644 --- a/packages/language-service/test/BUILD.bazel +++ b/packages/language-service/test/BUILD.bazel @@ -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 = [ diff --git a/packages/language-service/test/project/foo.ts b/packages/language-service/test/project/foo.ts deleted file mode 100644 index 35fcc18480..0000000000 --- a/packages/language-service/test/project/foo.ts +++ /dev/null @@ -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';