refactor(router): rename RouterTestModule into RouterTestingModule
This commit is contained in:
parent
b43f95435b
commit
2799e7a3ca
|
@ -9,12 +9,12 @@ import {Observable} from 'rxjs/Observable';
|
|||
import {of } from 'rxjs/observable/of';
|
||||
|
||||
import {ActivatedRoute, ActivatedRouteSnapshot, CanActivate, CanDeactivate, Event, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Params, ROUTER_DIRECTIVES, Resolve, Router, RouterStateSnapshot, RoutesRecognized, provideRoutes} from '../index';
|
||||
import {RouterTestModule, SpyAppModuleFactoryLoader} from '../testing';
|
||||
import {RouterTestingModule, SpyAppModuleFactoryLoader} from '../testing';
|
||||
|
||||
describe('Integration', () => {
|
||||
beforeEach(() => {
|
||||
configureModule({
|
||||
modules: [RouterTestModule],
|
||||
modules: [RouterTestingModule],
|
||||
providers: [provideRoutes(
|
||||
[{path: '', component: BlankCmp}, {path: 'simple', component: SimpleCmp}])]
|
||||
});
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
export * from './testing/router_test_module';
|
||||
export * from './testing/router_testing_module';
|
|
@ -77,5 +77,5 @@ export class SpyAppModuleFactoryLoader implements AppModuleFactoryLoader {
|
|||
},
|
||||
]
|
||||
})
|
||||
export class RouterTestModule {
|
||||
export class RouterTestingModule {
|
||||
}
|
|
@ -21,6 +21,7 @@
|
|||
"target": "es6"
|
||||
},
|
||||
"files": [
|
||||
"index.ts"
|
||||
"index.ts",
|
||||
"testing.ts"
|
||||
]
|
||||
}
|
|
@ -21,7 +21,8 @@
|
|||
"target": "es5"
|
||||
},
|
||||
"files": [
|
||||
"index.ts"
|
||||
"index.ts",
|
||||
"testing.ts"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
},
|
||||
"files": [
|
||||
"index.ts",
|
||||
"testing.ts",
|
||||
"src/router.ts",
|
||||
"src/apply_redirects.ts",
|
||||
"src/recognize.ts",
|
||||
|
|
Loading…
Reference in New Issue