Lines Matching refs:router
42 const router = constant
44 expect(router.resolve('')).toBe(mockComponent);
45 expect(router.resolve(null)).toBe(mockComponent);
49 const router = constant
52 expect(router.getRouteFromHash()).toBe('/foobar');
55 expect(router.getRouteFromHash()).toBe('');
60 const router = new Router( constant
70 router.setRouteOnHash('/a');
81 const router = new Router('/', {'/': mockComponent}, dispatch, mockLogging); constant
82 router.setRouteOnHash('foo');
125 const router = new Router( constant
127 router.navigateToCurrentHash();
134 const router = new Router('/', {'/': mockComponent}, dispatch, mockLogging); constant
135 router.navigateToCurrentHash();