This reverts commit ef78e33560
.
PR Close #28438
This commit is contained in:
@ -1,23 +0,0 @@
|
||||
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
||||
|
||||
ts_library(
|
||||
name = "fake_async_lib",
|
||||
srcs = [
|
||||
"example_spec.ts",
|
||||
"fake_async.ts",
|
||||
],
|
||||
deps = [
|
||||
"//packages/core/testing",
|
||||
"@ngdeps//@types/jasmine",
|
||||
"@ngdeps//@types/node",
|
||||
],
|
||||
)
|
||||
|
||||
jasmine_node_test(
|
||||
name = "test",
|
||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||
deps = [
|
||||
":fake_async_lib",
|
||||
"//tools/testing:node",
|
||||
],
|
||||
)
|
@ -1,12 +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
|
||||
*/
|
||||
|
||||
// Import the "fake_async" example that registers tests which are shown as examples. These need
|
||||
// to be valid tests, so we run them here. Note that we need to add this layer of abstraction here
|
||||
// because the "jasmine_node_test" rule only picks up test files with the "_spec.ts" file suffix.
|
||||
import './fake_async';
|
Reference in New Issue
Block a user