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 | 5627f137510ce1cf12a08abeed8c89abf3a83f5e (patch) | |
| tree | 4e3fad60a43b8725f5f495862ced0580717c1498 /scripts/theme-studio/face-docs.json | |
| parent | 6df4ebdcd7cc8102f00910c771a14e0c772061d5 (diff) | |
| download | dotemacs-5627f137510ce1cf12a08abeed8c89abf3a83f5e.tar.gz dotemacs-5627f137510ce1cf12a08abeed8c89abf3a83f5e.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/face-docs.json')
0 files changed, 0 insertions, 0 deletions
