We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e71cff commit 14f518fCopy full SHA for 14f518f
test/jasmine/tests/plots_test.js
@@ -421,11 +421,18 @@ describe('Test Plots', function() {
421
var p = [];
422
Plotly.newPlot(gd, [{y: [5, 2, 5]}])
423
.then(function() {
424
+ gd.style.width = '500px';
425
+ gd.style.height = '500px';
426
p.push(Plotly.Plots.resize(gd));
427
428
429
return Promise.all(p);
430
})
431
+ .then(function(v) {
432
+ // Make sure they all resolve to the same value
433
+ expect(v[0]).toEqual(v[1]);
434
+ expect(v[1]).toEqual(v[2]);
435
+ })
436
.catch(failTest)
437
.then(done);
438
});
0 commit comments