-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Adapt jasmine tests for jasmine-core@3 #3368
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
Comments
... and note that https://github.com/mnasyrov/karma-jasmine-spec-tags |
See https://github.com/plotly/plotly.js/tree/bump-jasmine for the current state of affairs. |
It seems that the new EDIT: yep, it stated: here under the breaking changes. |
their docs look more thorough than before too: |
Things are looking up! By setting https://github.com/plotly/plotly.js/compare/bump-jasmine Now, the main "blocker" is
As adding stuff to the |
https://github.com/jasmine/jasmine/blob/master/release_notes/3.3.0.md 🎉 |
🔪 function negateIf(expectation, condition) {
return condition ? expectation.not : expectation
} |
make numerous tests fail, spits out deprecation warnings:
and doesn't get along with our
negateIf
custom matcherplotly.js/test/jasmine/assets/custom_matchers.js
Lines 212 to 215 in cbaae9a
More info about jasmine@3:
https://github.com/jasmine/jasmine/blob/master/release_notes/3.0.md
More info about karma-jasmine@2:
https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md#200-2018-11-15
The text was updated successfully, but these errors were encountered: