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:
Alex Rickabaugh 2018-12-05 10:07:52 -08:00 committed by Igor Minar
parent 0ae8c08b3c
commit f514ac3da2
2 changed files with 1 additions and 7 deletions

View File

@ -15,9 +15,6 @@ ts_library(
name = "aot_test_lib",
testonly = True,
srcs = ["aot_router_bootstrap.spec.ts"],
tags = [
"fixme-ivy-aot",
],
deps = [
":aot_routing_module",
"//packages/core",
@ -30,9 +27,6 @@ ts_library(
jasmine_node_test(
name = "test",
bootstrap = ["angular/tools/testing/init_node_spec.js"],
tags = [
"fixme-ivy-aot",
],
deps = [
":aot_test_lib",
"//tools/testing:node",

View File

@ -7,7 +7,7 @@
*/
import {Component, NgModule} from '@angular/core';
import {RouterModule, Routes} from '../../';
import {RouterModule, Routes} from '@angular/router';
@Component({
selector: 'aot-router',