americanexpress / jest-image-snapshot

✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request]: would it be possible to make the inline image diff size configurable?

dvag-sebastian-goeb opened this issue · comments

Currently width=40 is hardcoded into the inline image diff escape code. Would it be possible to make this configurable? I'm working with full-page screenshots, which might be 1024px wide, or more. The diff has 3 copies, so that is 3072px shown in the space of 40 character cells, which is tiny. A configuration option would be nice, so I could make that bigger, or even rely in iTerm2's auto setting.