MCPcopy Create free account
hub / github.com/angular/angular / provideRouter

Function provideRouter

packages/router/test/directives/router_outlet.spec.ts:41–46  ·  view source on GitHub ↗
(
  routes: InternalRoute[],
  ...features: RouterFeatures[]
)

Source from the content-addressed store, hash-verified

39};
40
41export function provideRouter(
42 routes: InternalRoute[],
43 ...features: RouterFeatures[]
44): EnvironmentProviders {
45 return internalProvideRouter(routes, ...features);
46}
47describe('router outlet name', () => {
48 useAutoTick();
49 it('should support name binding', async () => {

Calls

no outgoing calls

Tested by

no test coverage detected