-
Notifications
You must be signed in to change notification settings - Fork 145
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
Fix setOptions to the ConsoleReporter if it exists on the options param #98
Conversation
@slackersoft could you review this for me? Thanks! |
I don't think this is quite what we want to solve this issue. The thing we would want, is to only call Additionally, you have not provided any tests for your functionality. Please review and update this pull request or create a new one to address these issues. Thanks for using Jasmine! |
Good point. Looking at this more, I'll have a fix and some tests. I'll ping you again when I have everything completed. |
0ee6e09
to
ac08bc5
Compare
e5cfb1e
to
2ae4cb6
Compare
@slackersoft It looks like I reverted back removing |
@slackersoft pinging again for review. Thanks! |
@@ -10,7 +10,7 @@ function ConsoleReporter() { | |||
showColors = false, | |||
timer = noopTimer, | |||
jasmineCorePath = null, | |||
printDeprecation = function() {}, | |||
printDeprecation = require('../printDeprecation'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're actually doing this in the previous manner so that no deprecation errors are printed out during specs. This also allows the specs not not have to pass in a custom no-op printDeprecation
if that particular spec isn't concerned with the deprecated functionality.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted printDeprecation
to be a no-op.
- setOptions to the ConsoleReporter if it exists on the options param - test setOptions should not override existing options if set multiple times closes jasmine#95
2ae4cb6
to
1d51773
Compare
@slackersoft Thanks! |
closes #95