diff --git a/modules/router-store/spec/router_selectors.spec.ts b/modules/router-store/spec/router_selectors.spec.ts index 768570d362..08c962ed60 100644 --- a/modules/router-store/spec/router_selectors.spec.ts +++ b/modules/router-store/spec/router_selectors.spec.ts @@ -137,9 +137,9 @@ describe('Router State Selectors', () => { ); }); it('should create a selector for selecting the url', () => { - const result = selectors.selectUrl(state); + const url = selectors.selectUrl(state); - expect(result).toEqual(state.router.state.url); + expect(url).toEqual(state.router.state.url); }); }); }); diff --git a/modules/router-store/src/router_selectors.ts b/modules/router-store/src/router_selectors.ts index ba6e33977d..3fb52061cb 100644 --- a/modules/router-store/src/router_selectors.ts +++ b/modules/router-store/src/router_selectors.ts @@ -1,4 +1,3 @@ -import { State } from '@ngrx/store'; import { RouterReducerState } from '@ngrx/router-store'; import { createSelector } from '@ngrx/store'; import { RouterStateSelectors } from './models';