Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ matcher
Function
matcher
packages/router/test/recognize.spec.ts:1333–1336 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
1331
it(
'should run once'
,
async
() => {
1332
let
calls = 0;
1333
const
matcher: UrlMatcher = (s) => {
1334
calls++;
1335
return
{consumed: s};
1336
};
1337
1338
const
s =
await
recognize(
1339
[
Callers
1
match
Function · 0.50
Calls
1
slice
Method · 0.65
Tested by
no test coverage detected