aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/previews.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-19 11:33:02 -0400
committerCraig Jennings <c@cjennings.net>2026-06-19 11:33:02 -0400
commit3bdf9b23204f4f908d3ef0353b2fe2eb5f9f3d2c (patch)
treefe1ef191183bfe08ea03dff0e1b38a61fc31b3b0 /scripts/theme-studio/previews.js
parentd6ee849f88f8fc3188f1bdd7f0198bffc010db49 (diff)
downloaddotemacs-3bdf9b23204f4f908d3ef0353b2fe2eb5f9f3d2c.tar.gz
dotemacs-3bdf9b23204f4f908d3ef0353b2fe2eb5f9f3d2c.zip
test(theme-studio): cover the promoted faceCss helpers
cssWeight, faceDecoration, boxCss, and faceCss moved into app-core in the CSS-builder refactor but had no node tests, leaving app-core at 96% line / 95% funcs. Added Normal/Boundary/Error cases for all four: every weight name plus the fallbacks, underline/strike/both/neither decoration, line/released/pressed boxes with and without color and width plus the no-color fallback, and faceCss's background/noBg/fontSize/box-order assembly. app-core is now 100% line; the node suite is 217 tests.
Diffstat (limited to 'scripts/theme-studio/previews.js')
0 files changed, 0 insertions, 0 deletions