Open SamyPesse opened 7 years ago
When using targaryen as the jasmine integration, when a test is failing, the output is really verbose for complex rules.
To debug the issue, we have to look for => false in all the logs.
=> false
I tried playing with setVerbose and setDebug, but none seems to help (either we have no logs or too much logs).
setVerbose
setDebug
I'm suggesting adding an option to log only the failing conditions (the ones returning false or throwing an error).
false
I will try to tackle it when I have time but I am happy to accept a PR. TODO:
When using targaryen as the jasmine integration, when a test is failing, the output is really verbose for complex rules.
To debug the issue, we have to look for
=> false
in all the logs.I tried playing with
setVerbose
andsetDebug
, but none seems to help (either we have no logs or too much logs).I'm suggesting adding an option to log only the failing conditions (the ones returning
false
or throwing an error).