(slugSegment: string, pathSegment: string)
| 54 | }); |
| 55 | if (matchEnd.length === 1) return matchEnd; |
| 56 | const paramMatcher = (slugSegment: string, pathSegment: string) => |
| 57 | (pathSegment.includes("{") && pathSegment.includes("}")) || |
| 58 | slugSegment === pathSegment; |
| 59 | |
| 60 | // slug = 'api/v2/Coordinators/1234'. matches = "/api/v2/Coordinators/{id}". "/api/v2/Coordinators/location" |
| 61 | const matchWithParams = matches.filter((match) => { |
no outgoing calls
no test coverage detected