Skip to content

Commit

Permalink
feat(router-store) Add base router selectors
Browse files Browse the repository at this point in the history
- correct unit tests
  • Loading branch information
jasonhodges authored and Jason Hodges committed May 24, 2019
1 parent 0f6a2fd commit c0e82bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/router-store/spec/router_selectors.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
});
1 change: 0 additions & 1 deletion modules/router-store/src/router_selectors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { State } from '@ngrx/store';
import { RouterReducerState } from '@ngrx/router-store';
import { createSelector } from '@ngrx/store';
import { RouterStateSelectors } from './models';
Expand Down

0 comments on commit c0e82bf

Please sign in to comment.