Skip to content

Commit

Permalink
refactor(router): rename RouterTestModule into RouterTestingModule
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Jul 20, 2016
1 parent b43f954 commit 2799e7a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions modules/@angular/router/test/router.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}])]
});
Expand Down
2 changes: 1 addition & 1 deletion modules/@angular/router/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ export class SpyAppModuleFactoryLoader implements AppModuleFactoryLoader {
},
]
})
export class RouterTestModule {
export class RouterTestingModule {
}
3 changes: 2 additions & 1 deletion modules/@angular/router/tsconfig-es2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"target": "es6"
},
"files": [
"index.ts"
"index.ts",
"testing.ts"
]
}
3 changes: 2 additions & 1 deletion modules/@angular/router/tsconfig-es5.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"target": "es5"
},
"files": [
"index.ts"
"index.ts",
"testing.ts"
]
}

Expand Down
1 change: 1 addition & 0 deletions modules/@angular/router/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
},
"files": [
"index.ts",
"testing.ts",
"src/router.ts",
"src/apply_redirects.ts",
"src/recognize.ts",
Expand Down

0 comments on commit 2799e7a

Please sign in to comment.