diff options
Diffstat (limited to 'coverage-map.js')
-rw-r--r-- | coverage-map.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/coverage-map.js b/coverage-map.js index 8bbf3057..beff9e8a 100644 --- a/coverage-map.js +++ b/coverage-map.js @@ -22,14 +22,9 @@ export default function map(F) { if (match) { const f = match[1]; - match = f.match(/^composite\/(.*?)\//); + match = f.match(/^composite\/(.*)$/); if (match) { - switch (match[1]) { - case 'common-utilities': - return `src/data/things/composite.js`; - default: - return null; - } + return `src/data/composite/${match[1]}`; } match = f.match(/^things\/(.*)\.js$/); |