(source: string, route: string, file = 'app/x/page.tsx')
| 18 | import type { Edge, Node } from '../src/types'; |
| 19 | |
| 20 | const covers = (source: string, route: string, file = 'app/x/page.tsx'): boolean | null => { |
| 21 | const regex = compileMatcher(source); |
| 22 | return regex === null ? null : matcherCovers(regex, route, file); |
| 23 | }; |
| 24 | |
| 25 | describe('a matcher entry', () => { |
| 26 | it.each([ |
no test coverage detected