aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/theme-coloring-guide.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 16:43:53 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 16:43:53 -0400
commit5798ce4ef8a13287a4192cd9f09e13750aaab445 (patch)
tree69462bcf0e0702e189500786795942aefd246d5d /scripts/theme-studio/theme-coloring-guide.org
parent14c294f8ddde21b22b090376e0ad0a31c4fdc94a (diff)
downloaddotemacs-5798ce4ef8a13287a4192cd9f09e13750aaab445.tar.gz
dotemacs-5798ce4ef8a13287a4192cd9f09e13750aaab445.zip
refactor(theme-studio): extract assertPreviewFaces for the 3 preview-face gates
The #mdtest, #mupreviewtest, and #gnustest browser gates each copy-pasted the same preview-face validation: render the preview, assert it exercises enough data-faces, that every data-face is real for the package, and that the required faces are present. Lift that into one assertPreviewFaces(A, html, faces, min, name, required) helper. Each gate keeps its literal location.hash==='#NAMEtest' check (run-tests.sh greps that to discover gates) and its own title/result-div. Verified: all 44 gates green, and a deliberately-broken required face still makes its gate report FAIL (the helper can't manufacture greens).
Diffstat (limited to 'scripts/theme-studio/theme-coloring-guide.org')
0 files changed, 0 insertions, 0 deletions