-
Notifications
You must be signed in to change notification settings - Fork 13
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
Debug.logs aren't shown if a test hangs #120
Comments
Hum, currently, calls to the log function accumulate in an array, which is transferred to the reporter and cleared everytime a test finishes: elm-test-rs/templates/node_runner.js Lines 38 to 40 in 54920e1
I haven't really thought if there could be a way to stream the logs in addition to accumulate them, or if that's desirable. If you need unblocking, after having compiled once, you can modified these line in the file |
Actually (I just checked now) and that file gets overwritten on next
Sorry for the inconvenience. |
I was able to solve the issue but this is good to know if I run into it again.
No worries. This tool on the whole more than makes up for this slight inconvenience 👍 |
I've noticed that the Debug.log messages aren't shown until the tests are completed. Unfortunately this means that if I have a test that hangs I need to kill the test runner and then I never see the Debug.logs. Is there a way to handle this situation?
The text was updated successfully, but these errors were encountered: