-
Notifications
You must be signed in to change notification settings - Fork 522
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(jasmine): replace deprecated Jasmine APIs that have been removed in version 4 #3283
Conversation
6fbc083
to
eef5e9e
Compare
eef5e9e
to
66e7c8a
Compare
Looks like with this change we can only support Jasmine 3.10+ https://jasmine.github.io/api/npm/3.10/Jasmine. So, I guess we need to support the older and new API since technically speaking changing the peer deps can be considered as a breaking change. |
66e7c8a
to
dc978e3
Compare
dc978e3
to
48e7c5a
Compare
2c63fa8
to
e263803
Compare
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.
Thanks Alan! Looks great as always, just one comment nit
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
e263803
to
80f6d55
Compare
@alexeagle todos added. |
With this change we replace APIs that have been deprecated in version 4 and removed in version 4
Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner.