mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-24 14:45:36 +00:00
Add e2e tests exercising the slide-start/slide-end events on the reka-ui Slider component so that the setPressed callback (lines 21-24) is reached during coverage collection. - New sliderWidget.spec.ts with two tests: cursor-grabbing assertion during pointer hold, and value-change assertion via dragTo. - New assertBoundingBox() utility that replaces the never-null (!) pattern on boundingBox() results with a typed guard that throws a descriptive error. - Fix litegraphUtils.ts dragHorizontal to use assertBoundingBox.