(root)
| 345 | } |
| 346 | |
| 347 | function allFixtureFiles(root) { |
| 348 | const files = []; |
| 349 | for (const entry of fs.readdirSync(root, { withFileTypes: true })) { |
| 350 | const fullPath = path.join(root, entry.name); |
| 351 | if (entry.isDirectory()) files.push(...allFixtureFiles(fullPath)); |
| 352 | else files.push(fullPath); |
| 353 | } |
| 354 | return files; |
| 355 | } |
| 356 | |
| 357 | function escapedRegExp(value) { |
| 358 | return new RegExp(value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")); |
no outgoing calls
no test coverage detected