(pattern, file)
| 194 | } |
| 195 | |
| 196 | const isMatchingPattern = (pattern, file) => { |
| 197 | if (pattern instanceof RegExp) { |
| 198 | return pattern.test(file) |
| 199 | } else { |
| 200 | return file.startsWith(pattern) |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | async function getTestTimings() { |
| 205 | if (!kvClient) { |
no test coverage detected