(path, groups)
| 84 | } |
| 85 | |
| 86 | const groupOf = (path, groups) => { |
| 87 | for (const [name, globs] of Object.entries(groups)) { |
| 88 | if (globs.some((g) => globToRegExp(g).test(path))) return name; |
| 89 | } |
| 90 | return 'other'; |
| 91 | }; |
| 92 | |
| 93 | /** |
| 94 | * Run one explore call with the diagnostic pointed at a sidecar, and return the |
no test coverage detected