From 4bf8d64c5684eaef3675a16a04ebaee55a5986e4 Mon Sep 17 00:00:00 2001 From: Andrew Kushnir Date: Mon, 17 Dec 2018 18:27:30 -0800 Subject: [PATCH] fix(ivy): restore `fixmeIvy` imports for Router-related tests (#27720) It looks like `fixmeIvy` imports were accidentally removed from Router integration tests, thus causing build errors. The necessary imports are now restored and the project should build normally. PR Close #27720 --- packages/router/test/BUILD.bazel | 1 + packages/router/test/integration.spec.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/router/test/BUILD.bazel b/packages/router/test/BUILD.bazel index 3fa31c41c6..15be00ff80 100644 --- a/packages/router/test/BUILD.bazel +++ b/packages/router/test/BUILD.bazel @@ -12,6 +12,7 @@ ts_library( "//packages/platform-browser", "//packages/platform-browser-dynamic", "//packages/platform-browser/testing", + "//packages/private/testing", "//packages/router", "//packages/router/testing", "@rxjs", diff --git a/packages/router/test/integration.spec.ts b/packages/router/test/integration.spec.ts index 6d0a1fbd22..b99df12717 100644 --- a/packages/router/test/integration.spec.ts +++ b/packages/router/test/integration.spec.ts @@ -12,6 +12,7 @@ import {ChangeDetectionStrategy, Component, Injectable, NgModule, NgModuleFactor import {ComponentFixture, TestBed, fakeAsync, inject, tick} from '@angular/core/testing'; import {By} from '@angular/platform-browser/src/dom/debug/by'; import {expect} from '@angular/platform-browser/testing/src/matchers'; +import {fixmeIvy} from '@angular/private/testing'; import {ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, CanActivate, CanDeactivate, ChildActivationEnd, ChildActivationStart, DetachedRouteHandle, Event, GuardsCheckEnd, GuardsCheckStart, Navigation, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, PRIMARY_OUTLET, ParamMap, Params, PreloadAllModules, PreloadingStrategy, Resolve, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterModule, RouterPreloader, RouterStateSnapshot, RoutesRecognized, RunGuardsAndResolvers, UrlHandlingStrategy, UrlSegmentGroup, UrlSerializer, UrlTree} from '@angular/router'; import {Observable, Observer, Subscription, of } from 'rxjs'; import {filter, first, map, tap} from 'rxjs/operators';