(pattern: string)
| 54 | }; |
| 55 | |
| 56 | const matchScore = (pattern: string): number => |
| 57 | pathSegments(pattern).reduce((score, segment) => score + (segment.startsWith("$") ? 1 : 2), 0); |
| 58 | |
| 59 | export const matchPluginPage = <TPage extends { readonly path: string }>( |
| 60 | pages: readonly TPage[] | undefined, |
no test coverage detected