fix(router): respect LocationStrategy when constructing hrefs in links

Note that this introduces more behavior for LocationStrategy which needs
yet more refactoring to test. See #4935.

Closes #4333
This commit is contained in:
Brian Ford
2015-10-26 13:57:41 +00:00
parent 280cd33f2e
commit 2a3e11d32d
11 changed files with 36 additions and 42 deletions

View File

@ -163,7 +163,8 @@ export function main() {
});
}));
describe('custom app base ref', () => {
// TODO(btford): mock out level lower than LocationStrategy once that level exists
xdescribe('custom app base ref', () => {
beforeEachBindings(() => { return [provide(APP_BASE_HREF, {useValue: '/my/app'})]; });
it('should bootstrap',
inject([AsyncTestCompleter, TestComponentBuilder],