aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/browser-gates.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-22 09:23:16 -0400
committerCraig Jennings <c@cjennings.net>2026-06-22 09:23:16 -0400
commita15491d8d15c481b82227ee9c3f26c87a4714970 (patch)
tree8bb410e1377b26d0e7d6084450c3c5dda4dd68e2 /scripts/theme-studio/browser-gates.js
parent07c916129c3dd2807ec47fee945a4ddc69cf87c4 (diff)
downloaddotemacs-a15491d8d15c481b82227ee9c3f26c87a4714970.tar.gz
dotemacs-a15491d8d15c481b82227ee9c3f26c87a4714970.zip
fix(coverage): normalize report and diff paths before intersecting
simplecov reports absolute source paths while git diff emits repo-relative ones, so cj/--coverage-intersect joined them by exact key and matched nothing — every changed file read ":tracked nil" under the working-tree, staged, and branch scopes (whole-project worked only because both sides came from the same simplecov source). A new cj/--coverage-relativize-keys normalizes both tables to repo-relative in cj/--coverage-read-and-display before the intersect; the intersect stays pure. Covered by 5 unit tests plus an integration test that drives the real parsers with an absolute-key report and a relative-key diff.
Diffstat (limited to 'scripts/theme-studio/browser-gates.js')
0 files changed, 0 insertions, 0 deletions