mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 15:10:06 +00:00
Fixes unit tests that failed after PR #5079 which moved title button handling logic from LGraphNode.onMouseDown to LGraphCanvas level. - Updated LGraphNode.titleButtons.test.ts to test canvas-level logic instead of calling node.onMouseDown() directly - Updated LGraph.test.ts snapshot to reflect removal of onMouseDown function from node serialization - Tests now mock button.isPointInside() and verify onTitleButtonClick() calls - Removed unused variables to fix TypeScript compilation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>