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

Jest test output is too big because of console logging #10682

Closed
tofumatt opened this issue Aug 22, 2017 · 3 comments · Fixed by mozilla/addons-frontend#5872
Closed

Jest test output is too big because of console logging #10682

tofumatt opened this issue Aug 22, 2017 · 3 comments · Fixed by mozilla/addons-frontend#5872

Comments

@tofumatt
Copy link
Contributor

This has been happening realistically since Jest but I think the bundle size has made it more intense. Basically our test output is so huge that Travis stops rendering it and it makes looking up failed tests quite difficult.

I don't think there's an easy fix but I'm filing this here because having to download the raw logs for failing tests is pretty annoying and locally I'll often run yarn test -- --silent because otherwise it's way too loud.

We should fix things up so test output, especially on Travis, is nice and concise so we can see–at a glance–test failures.

@kumar303
Copy link
Contributor

I think this will help jestjs/jest#4156

Also, maybe it's possible to hide webpack output?

@kumar303
Copy link
Contributor

kumar303 commented Oct 3, 2017

This isn't going to happen: jestjs/jest#4156

At the very least we start running jest without colors on Travis because that will make it easier to read in the raw log.

@kumar303 kumar303 changed the title Test output is too big Jest test output is too big because of console logging Feb 2, 2018
@willdurand willdurand self-assigned this Aug 7, 2018
@willdurand willdurand added this to the 2018.08.16 milestone Aug 8, 2018
@willdurand
Copy link
Member

\o/

@KevinMind KevinMind transferred this issue from mozilla/addons-frontend May 5, 2024
@KevinMind KevinMind added repository:addons-frontend Issue relating to addons-frontend migration:2024 labels May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment