Terminal UI flickering #6177
Labels
help wanted
Extra attention is needed
p4-important
Violate documented behavior or significantly improves performance (priority)
Describe the bug
When running
vitest
there is a significant amount of flickering in the console that makes it really unpleasant to look atThis is a video of my terminal output with vitest
Screen.Recording.2024-07-19.at.1.40.46.PM.mov
My desire would be some sort of low motion option or something that makes the output more static.
Reproduction
This seems to be caused because vitest is rewriting the console output to do the animations on the running tests and when there are tests that are logging a lot or errors being printed to stdout it causes the unpleasant visual flickering. This repo reproduces it with just two tests with some timeouts. Our codebase at work has a couple hundred tests that print console errors quite a lot, so there is significantly more flickering
https://github.com/TomPridham/vitest-ui-flickering
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: