(path)
| 6 | const manualGroups = require('./../manual-groups.json'); |
| 7 | |
| 8 | function extractFileNameFromPath(path) { |
| 9 | if (/\.\w+$/.test(path)) { |
| 10 | return /([^/]*)\.\w+$/.exec(path)[1]; |
| 11 | } |
| 12 | return /[^/]*$/.exec(path)[0]; |
| 13 | } |
| 14 | |
| 15 | const hiddenManualNames = manualGroups.__hidden__.map(extractFileNameFromPath); |
| 16 |
no outgoing calls
no test coverage detected