feat(router): add support for custom url matchers

Closes #12442
Closes #12772
This commit is contained in:
vsavkin
2016-11-09 15:25:47 -08:00
committed by Victor Berchet
parent 2c110931f8
commit 73407351e7
9 changed files with 156 additions and 64 deletions

View File

@ -731,7 +731,7 @@ describe('Integration', () => {
expect(cmp.activations.length).toEqual(1);
expect(cmp.activations[0] instanceof BlankCmp).toBe(true);
router.navigateByUrl('/simple').catch(e => console.log(e));
router.navigateByUrl('/simple');
advance(fixture);
expect(cmp.activations.length).toEqual(2);