Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text overlaps when using jest in watch mode #12

Open
HendrikThePendric opened this issue May 24, 2018 · 3 comments
Open

Text overlaps when using jest in watch mode #12

HendrikThePendric opened this issue May 24, 2018 · 3 comments

Comments

@HendrikThePendric
Copy link

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?

Please see and example of what I mean below:
overlapping_text

@theoutlander
Copy link
Owner

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? :)

@matrunchyk
Copy link

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?

@theoutlander
Copy link
Owner

theoutlander commented Oct 19, 2020

Thanks for the heads-up @matrunchyk. I updated to the latest jest, but it doesn't appear to work for me.

I get the following:
image

The option is not listed in the docs either....wonder if it was removed.

I'm on the latest version:
image

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants