« get me outta code hell

test: drop unused coverage map stuff - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-03-31 19:56:24 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-03-31 19:56:24 -0300
commit9d987e2ca63f6cd232d92d5673639af568c834ff (patch)
tree36428a441ca80677d10d7353b564ee72905e49c5
parent1bc753d13be48c5505ad5f5c6910f2a440d016e5 (diff)
test: drop unused coverage map stuff
-rw-r--r--coverage-map.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/coverage-map.js b/coverage-map.js
index beff9e8a..b3b0c83f 100644
--- a/coverage-map.js
+++ b/coverage-map.js
@@ -4,18 +4,6 @@
 export default function map(F) {
   let match;
 
-  // unit/content/...
-
-  match = F.match(/^test\/unit\/content\/(.*)$/);
-  if (match) {
-    const f = match[1];
-
-    match = f.match(/^dependencies\/(.*)\.js$/);
-    if (match) {
-      return `src/content/dependencies/${match[1]}.js`;
-    }
-  }
-
   // unit/data/...
 
   match = F.match(/^test\/unit\/data\/(.*)$/);
@@ -55,17 +43,5 @@ export default function map(F) {
     }
   }
 
-  // snapshot/...
-
-  match = F.match(/^test\/snapshot\/(.*)$/);
-  if (match) {
-    const f = match[1];
-
-    match = f.match(/^(.*)\.js$/);
-    if (match) {
-      return `src/content/dependencies/${match[1]}.js`;
-    }
-  }
-
   return null;
 }