From f514ac3da241a0291aed773841bef77fd0b73e48 Mon Sep 17 00:00:00 2001 From: Alex Rickabaugh Date: Wed, 5 Dec 2018 10:07:52 -0800 Subject: [PATCH] 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 --- packages/router/test/aot_ngsummary_test/BUILD.bazel | 6 ------ .../router/test/aot_ngsummary_test/aot_router_module.ts | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/router/test/aot_ngsummary_test/BUILD.bazel b/packages/router/test/aot_ngsummary_test/BUILD.bazel index b500a118ba..ba3458fb9a 100644 --- a/packages/router/test/aot_ngsummary_test/BUILD.bazel +++ b/packages/router/test/aot_ngsummary_test/BUILD.bazel @@ -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", diff --git a/packages/router/test/aot_ngsummary_test/aot_router_module.ts b/packages/router/test/aot_ngsummary_test/aot_router_module.ts index ad52784a72..e0a49b0993 100644 --- a/packages/router/test/aot_ngsummary_test/aot_router_module.ts +++ b/packages/router/test/aot_ngsummary_test/aot_router_module.ts @@ -7,7 +7,7 @@ */ import {Component, NgModule} from '@angular/core'; -import {RouterModule, Routes} from '../../'; +import {RouterModule, Routes} from '@angular/router'; @Component({ selector: 'aot-router',