MCPcopy
hub / github.com/angular/angular / recognizer

Function recognizer

packages/router/test/recognize.spec.ts:701–709  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

699
700 describe('with segments after', () => {
701 const recognizer = (url: string) => {
702 const config = [
703 {
704 path: 'foo/**/bar',
705 component: ComponentA,
706 },
707 ];
708 return recognize(config, url);
709 };
710
711 it('matches a url with one segment for the wildcard', async () => {
712 const s = await recognizer('foo/a/bar');

Callers 1

recognize.spec.tsFile · 0.85

Calls 1

recognizeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…