aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/app-util.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-19 11:42:52 -0400
committerCraig Jennings <c@cjennings.net>2026-06-19 11:42:52 -0400
commitaa31d2774cb58308b23cd9319940dd0195ec5f02 (patch)
tree599f352c5c9a07d5959f56d0ed0cc5b885701ca9 /scripts/theme-studio/app-util.js
parent25415e025819ff782cb1557e51cb185cf8889cdc (diff)
downloaddotemacs-aa31d2774cb58308b23cd9319940dd0195ec5f02.tar.gz
dotemacs-aa31d2774cb58308b23cd9319940dd0195ec5f02.zip
test(theme-studio): cover defensive branches and the palette generator
Added the uncovered fallback branches in app-core (migrateLegacyFace null input, normalizePkgFace's source fallback chain, mergePackagesInto's null/new-app guards, boxCss shading a relief from the bg when no box color is set) and in colormath (apca's equal-luminance return-0 and low-contrast clamp, isPureEndpointHex). New test-palette-generator-core.mjs drives planPaletteGenerator across every scheme, vibe, source mode, and the fill-gaps intents, since those internals are only reachable through the public planner. colormath branch 96 -> 99%, palette-generator-core funcs 97 -> 100%, node suite 237 tests. The remaining gaps are the deep palette-column edge branches, deferred as diminishing returns on already line-covered code.
Diffstat (limited to 'scripts/theme-studio/app-util.js')
0 files changed, 0 insertions, 0 deletions