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:999–1002 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
997
it(
'should run once'
,
async
() => {
998
let
calls = 0;
999
const
matcher: UrlMatcher = (s) => {
1000
calls++;
1001
return
{consumed: s};
1002
};
1003
1004
const
s =
await
recognize(
1005
[
Callers
1
match
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected