You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): stub supports_kitty in autolink media-routing tests (#17)
image_placements are only registered when image.supports_kitty()
returns true, which requires a Kitty graphics-capable terminal
(WezTerm/kitty/ghostty). CI runners report false, so the standalone
autolink tests added in #13 failed there even though the routing
logic itself is correct.
Stub image.supports_kitty for the duration of these tests with a
restore-on-error wrapper. The negative test is also stubbed so it
exercises the URL filter rather than passing for the wrong reason
(no placement because no kitty support).
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments