From 9d987e2ca63f6cd232d92d5673639af568c834ff Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 31 Mar 2026 19:56:24 -0300 Subject: test: drop unused coverage map stuff --- coverage-map.js | 24 ------------------------ 1 file changed, 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; } -- cgit 1.3.0-6-gf8a5