This reverts commit 9bb349e1c8
.
PR Close #34730
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user