-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Global init level is wrong type #954
Comments
Hello, this issue has me a bit confused. Could you tell me the name of one of the tests that exhibits this behaviour? When you say there's no output from the test - if there's no output from a test I'd assume the test would loudly fail...are you saying that some tests aren't actually being run because they're terminating mid-way? |
Just run the tests in the debugger and watch the console. See below.
|
initLevel is of type Object, but level is of type Level. This is the core bug.
If a compile fails before it creates any levels, then the level is never set correctly, and convertLevelToString fails with a TypeError. So there is no output from the test.
As well, wrapper.js suppresses all console output, making this a totally silent and mysterious failure.
As a workaround, patching consolePrint() in wrapper.js is enough to allow these errors to be diagnosed. Why is it switched off?
I'm happy to provide fixes, but need feedback first.
The text was updated successfully, but these errors were encountered: