(path: string)
| 28 | }; |
| 29 | |
| 30 | const isInfoFile = (path: string) => { |
| 31 | const config = getConfig(); |
| 32 | let matcher: RegExp; |
| 33 | switch (config.mode) { |
| 34 | case "qwikcity": |
| 35 | matcher = /routeInfo\.ts$/; |
| 36 | break; |
| 37 | default: |
| 38 | matcher = /\.info\.ts(x?)$/; |
| 39 | break; |
| 40 | } |
| 41 | |
| 42 | return path.match(matcher); |
| 43 | }; |
| 44 | const isRouteFile = (path: string) => { |
| 45 | const config = getConfig(); |
| 46 | let matcher: RegExp; |
no test coverage detected