@@ -173,13 +173,12 @@ describe('reflector_host', () => {
173173 } ) ;
174174
175175 it ( 'should be able to produce a symbol for an exported symbol' , ( ) => {
176- expect ( reflectorNestedGenDir . findDeclaration ( '@angular/router-deprecated ' , 'foo' , 'main.ts' ) )
176+ expect ( reflectorNestedGenDir . findDeclaration ( '@angular/router' , 'foo' , 'main.ts' ) )
177177 . toBeDefined ( ) ;
178178 } ) ;
179179
180180 it ( 'should be able to produce a symbol for values space only reference' , ( ) => {
181- expect ( reflectorNestedGenDir . findDeclaration (
182- '@angular/router-deprecated/src/providers' , 'foo' , 'main.ts' ) )
181+ expect ( reflectorNestedGenDir . findDeclaration ( '@angular/router/src/providers' , 'foo' , 'main.ts' ) )
183182 . toBeDefined ( ) ;
184183 } ) ;
185184
@@ -245,7 +244,7 @@ const FILES: Entry = {
245244 'src' : {
246245 'main.ts' : `
247246 import * as c from '@angular/core';
248- import * as r from '@angular/router-deprecated ';
247+ import * as r from '@angular/router';
249248 import * as u from './lib/utils';
250249 import * as cs from './lib/collections';
251250 import * as u2 from './lib2/utils2';
@@ -328,7 +327,7 @@ const FILES: Entry = {
328327 'core.d.ts' : dummyModule ,
329328 'core.metadata.json' :
330329 `{"__symbolic":"module", "version": 1, "metadata": {"foo": {"__symbolic": "class"}}}` ,
331- 'router-deprecated ' : { 'index.d.ts' : dummyModule , 'src' : { 'providers.d.ts' : dummyModule } } ,
330+ 'router' : { 'index.d.ts' : dummyModule , 'src' : { 'providers.d.ts' : dummyModule } } ,
332331 'unused.d.ts' : dummyModule
333332 }
334333 }
0 commit comments