From 9b9aa750297a220d76b6602e1e23c891e50986d4 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 30 Sep 2023 09:37:26 -0300 Subject: test: update coverage map for new/rearranged data unit tests --- coverage-map.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/coverage-map.js b/coverage-map.js index 0ed9d60a..8bbf3057 100644 --- a/coverage-map.js +++ b/coverage-map.js @@ -22,10 +22,30 @@ export default function map(F) { if (match) { const f = match[1]; + match = f.match(/^composite\/(.*?)\//); + if (match) { + switch (match[1]) { + case 'common-utilities': + return `src/data/things/composite.js`; + default: + return null; + } + } + match = f.match(/^things\/(.*)\.js$/); if (match) { return `src/data/things/${match[1]}.js`; } + + match = f.match(/^cacheable-object\.js$/); + if (match) { + return `src/data/things/cacheable-object.js`; + } + + match = f.match(/^(templateCompositeFrom|compositeFrom)\.js$/); + if (match) { + return `src/data/things/composite.js`; + } } // unit/util/... -- cgit 1.3.0-6-gf8a5