This reverts commit 9bb349e1c8
.
PR Close #34730
This commit is contained in:
@ -59,8 +59,8 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "test",
|
||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||
shard_count = 4,
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
|
||||
deps = [
|
||||
":test_lib",
|
||||
":test_node_only_lib",
|
||||
@ -68,7 +68,6 @@ jasmine_node_test(
|
||||
"//packages/platform-server/testing",
|
||||
"//packages/zone.js/lib:zone_d_ts",
|
||||
"//tools/testing:node",
|
||||
"//tools/testing:node_es5",
|
||||
"@npm//base64-js",
|
||||
"@npm//source-map",
|
||||
],
|
||||
|
@ -37,12 +37,11 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "acceptance",
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
|
||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||
deps = [
|
||||
":acceptance_lib",
|
||||
"//packages/zone.js/lib:zone_d_ts",
|
||||
"//tools/testing:node",
|
||||
"//tools/testing:node_es5",
|
||||
"@npm//base64-js",
|
||||
"@npm//source-map",
|
||||
],
|
||||
|
@ -61,10 +61,10 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "render3",
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location :domino_es5))"],
|
||||
bootstrap = [
|
||||
"angular/packages/core/test/render3/load_domino",
|
||||
],
|
||||
deps = [
|
||||
":domino",
|
||||
":domino_es5",
|
||||
":render3_node_lib",
|
||||
"//packages/zone.js/lib",
|
||||
],
|
||||
|
@ -16,14 +16,15 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "ivy",
|
||||
bootstrap = [
|
||||
"angular/packages/core/test/render3/load_domino",
|
||||
],
|
||||
tags = [
|
||||
"ivy-only",
|
||||
],
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //packages/core/test/render3:domino_es5))"],
|
||||
deps = [
|
||||
":ivy_lib",
|
||||
"//packages/core/test/render3:domino",
|
||||
"//packages/core/test/render3:domino_es5",
|
||||
"//packages/zone.js/lib",
|
||||
],
|
||||
)
|
||||
|
@ -6,15 +6,6 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
if (process.env['TEST_SRCDIR']) {
|
||||
// bootstrap the bazel require resolve patch since this
|
||||
// script is a bootstrap script loaded with --node_options=--require=...
|
||||
const path = require('path');
|
||||
require(path.posix.join(
|
||||
process.env['TEST_SRCDIR'], process.env['TEST_WORKSPACE'],
|
||||
(process.env['TEST_BINARY'] as string).replace(/\.(sh|bat)$/, '_loader.js'), ));
|
||||
}
|
||||
|
||||
// Needed to run animation tests
|
||||
import 'zone.js/lib/node/rollup-main';
|
||||
import '@angular/compiler'; // For JIT mode. Must be in front of any other @angular/* imports.
|
||||
|
@ -34,15 +34,14 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "view",
|
||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||
tags = [
|
||||
"no-ivy-aot",
|
||||
],
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
|
||||
deps = [
|
||||
":view_lib",
|
||||
":view_node_only_lib",
|
||||
"//tools/testing:node",
|
||||
"//tools/testing:node_es5",
|
||||
],
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user