-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
use new jasmine pattern for catching errors in async code #5372
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
Conversation
Have you verified that |
to resolve conflicts in test/jasmine/tests/bar_test.js test/jasmine/tests/contourgl_test.js test/jasmine/tests/funnel_test.js test/jasmine/tests/pointcloud_test.js test/jasmine/tests/sankey_test.js test/jasmine/tests/shapes_test.js test/jasmine/tests/waterfall_test.js
RE1: RE2: plotly.js/test/jasmine/tests/animate_test.js Line 183 in 444be40
So it seems preferable to keep done.fail as is.
|
True, So great, let's keep That plotly.js/src/plot_api/plot_api.js Lines 3471 to 3474 in 444be40
Most people seem to recommend rejecting with an Plotly.animate(gd, ['foobar'], animOpts).then(done.fail, () => { done() }); Anyway not worth spending time on now, |
After this PR are there any uses of |
There are just a few cases. But let's attempt drop |
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.
💃
Addressing #5340 (comment)
The first pass to retire
failTest
.@plotly/plotly_js