quolpr / quicktest.nvim

Run your tests in split window or popup with live feedback
MIT License
54 stars 4 forks source link

Terminal escape codes in test output #9

Closed nobleach closed 1 week ago

nobleach commented 1 month ago

I'm running the Vitest adapter, and I'm noticing terminal escape codes in the output:

Screenshot 2024-07-03 at 8 23 55 AM

This happens when there's a warning. I've dug around a bit but I'm still not sure where the stdout/stderr is handled before being piped into the popup window. Otherwise, I'd love to submit a PR instead of just an issue.

This is what I get when I run the same test directly from the command line:

Screenshot 2024-07-03 at 8 28 18 AM
quolpr commented 1 month ago

@nobleach thanks for the report! Yep, it's annoying, will fix it soon.

quolpr commented 1 week ago

Should be fixed now