use new jasmine pattern for catching errors in async code - #5372
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 |
Addressing #5340 (comment)
The first pass to retire
failTest.@plotly/plotly_js