diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-20 16:43:53 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-20 16:43:53 -0400 |
| commit | a4d15c5598d2faed55cf0f3486025bd51f33debc (patch) | |
| tree | 3d6780c43b9ac5a382226d81284315e067fedea0 /modules/custom-whitespace.el | |
| parent | 90b2943f55c2c59d4cb447aedf41d4841f1b1c93 (diff) | |
| download | dotemacs-a4d15c5598d2faed55cf0f3486025bd51f33debc.tar.gz dotemacs-a4d15c5598d2faed55cf0f3486025bd51f33debc.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 'modules/custom-whitespace.el')
0 files changed, 0 insertions, 0 deletions
