-
Notifications
You must be signed in to change notification settings - Fork 1
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
Running tests in verbose mode with console logging breaks output #4
Comments
It's supposed to work the exact same, at least for a first iteration. Could you open up a separate issue for it? Or send a PR 🙂 Opened one up: #6 |
Haven't tried, but I'm wondering if it's related to vadimdemedes/ink#162 |
Testing now, it's something to do with |
Figured out what's going on, although I have no idea how to fix it... The issue is that, since we're only running a single test, Jest switches into There is jestjs/jest#6441 which we should do, but it'll cause log entries to be printed twice... I think the only proper way to solve this is to land jestjs/jest#9001 and also stream individual console entries as they happen. We don't wanna force people to use the buffered logger, since e.g. tests that time out or hang forever would not get any logging out. Thoughts? /cc @thymikee @rogeliog Edit: It means vadimdemedes/ink#162 would help, but I think the issue lies with Jest itself and allowing a stream of data rather than just complete test results should allow us to fix this. |
Yes, I agree that we might need something like jestjs/jest#9001 and jestjs/jest#6441 would make sense for this. |
Repro: https://github.com/yldio/yld.io/tree/38514750c72574747c96de405ab0ec174b75692d
It also does not show test case details like the default reporter, not sure if it is supposed to do that.
The text was updated successfully, but these errors were encountered: