refactor(router): rename RouterTestModule into RouterTestingModule

This commit is contained in:
vsavkin 2016-07-20 11:39:31 -07:00
parent b43f95435b
commit 2799e7a3ca
6 changed files with 9 additions and 6 deletions

View File

@ -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}])]
});

View File

@ -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';

View File

@ -77,5 +77,5 @@ export class SpyAppModuleFactoryLoader implements AppModuleFactoryLoader {
},
]
})
export class RouterTestModule {
export class RouterTestingModule {
}

View File

@ -21,6 +21,7 @@
"target": "es6"
},
"files": [
"index.ts"
"index.ts",
"testing.ts"
]
}

View File

@ -21,7 +21,8 @@
"target": "es5"
},
"files": [
"index.ts"
"index.ts",
"testing.ts"
]
}

View File

@ -22,6 +22,7 @@
},
"files": [
"index.ts",
"testing.ts",
"src/router.ts",
"src/apply_redirects.ts",
"src/recognize.ts",