test(ivy): enable //packages/router/test/aot_ngsummary_test in Ivy mode (#27483)
This commit enables the above test to run under --define=compile=aot. To accomplish this, one import is rewritten from a strange form to the correct absolute form. FW-658 #resolve PR Close #27483
This commit is contained in:
parent
0ae8c08b3c
commit
f514ac3da2
@ -15,9 +15,6 @@ ts_library(
|
|||||||
name = "aot_test_lib",
|
name = "aot_test_lib",
|
||||||
testonly = True,
|
testonly = True,
|
||||||
srcs = ["aot_router_bootstrap.spec.ts"],
|
srcs = ["aot_router_bootstrap.spec.ts"],
|
||||||
tags = [
|
|
||||||
"fixme-ivy-aot",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":aot_routing_module",
|
":aot_routing_module",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
@ -30,9 +27,6 @@ ts_library(
|
|||||||
jasmine_node_test(
|
jasmine_node_test(
|
||||||
name = "test",
|
name = "test",
|
||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
|
||||||
"fixme-ivy-aot",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":aot_test_lib",
|
":aot_test_lib",
|
||||||
"//tools/testing:node",
|
"//tools/testing:node",
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {Component, NgModule} from '@angular/core';
|
import {Component, NgModule} from '@angular/core';
|
||||||
import {RouterModule, Routes} from '../../';
|
import {RouterModule, Routes} from '@angular/router';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'aot-router',
|
selector: 'aot-router',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user