Text overlaps when using jest in watch mode
Opened this issue · 3 comments
First off: Great work, I really like this dashboard and want to use it for my own project.
When jest is in watch mode it displays some usage instructions. This cannot be hidden. But after the first run the list collapses to only one line. See here for more details.
These usage instructions overlap with the top-left part of the dashboard. Perhaps it would be possible to add a background to the dashboard or something so it would be hidden?
Thanks, @HendrikThePendric for the detailed bug. I recall investigating this issue a few months ago. I tried to intercept the console, but unfortunately, that didn't work since the same console instance that prints the UI is used to print that usage message.
None of the available options worked. And, there isn't a way to add a background either (that's a nice idea though!).
The only option for us is to make PR to jest. Luckily, while browsing through the jest issues, I came across jestjs/jest#2125 which might be the solution.
Can you please try that and let us know if it works? :)
Hi @theoutlander! Great package! I noticed that the mentioned issue has merged, maybe can we bump jest version to 23 and see if it works?
Thanks for the heads-up @matrunchyk. I updated to the latest jest, but it doesn't appear to work for me.
The option is not listed in the docs either....wonder if it was removed.
I've also tried adding this option to the config file, but still no luck.
Do you happen to know how it is supposed to be used? I'll need to look into their code to track this down. Thanks!