Revert "fix(router): process empty path segment when preceding a named outlet (#26243)" (#27516)

This reverts commit 20cef5078d.

Breaks Pantheon see cl/224256517.

PR Close #27516
This commit is contained in:
Igor Minar
2018-12-06 08:27:20 -08:00
parent 6740d0de74
commit 4f61832d1c
2 changed files with 0 additions and 22 deletions

View File

@ -263,20 +263,6 @@ describe('recognize', () => {
});
});
it('should work with children outlets', () => {
checkRecognize(
[{
path: '',
component: ComponentA,
children: [{path: 'b', outlet: 'b', component: ComponentB}]
}],
'(b:b)', (s: RouterStateSnapshot) => {
checkActivatedRoute((s as any).firstChild(s.root) !, '', {}, ComponentA);
checkActivatedRoute(
(s as any).firstChild((s as any).firstChild(s.root)) !, 'b', {}, ComponentB, 'b');
});
});
it('should match when terminal', () => {
checkRecognize(
[{path: '', pathMatch: 'full', component: ComponentA}], '',