//
sign in
Post
by @danabra.mov
PostEmbed
by @danabra.mov
Record
by @jimpick.com
Record
by @atsui.org
+ new component
Post
Testing terminal output is hard. Especially in cases that involve clearing screen partially while maintaining stable log output elsewhere on screen. With ansivision it's possible to simulate what output all the ansi codes would render visually in real terminal. No need to use heavy node-pty anymore.
1mo
A library to time-travel through terminal output and more. - 43081j/ansivision
github.com
GitHub - 43081j/ansivision: A library to time-travel through terminal output and more.
AriPerkkio
Super happy to see a fairly niche library of mine being put to good use 😍
1mo
James
Thanks, it works! We can finally test Vitest's fast-updating SummaryReporter with this! I always thought it would be too difficult to simulate terminal's behaviour, but this library does it perfectly 💯 Also found one edge-case bug in Vitest while setting this up. 🙃
1mo
AriPerkkio