We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
toimage_test.js
1 parent f9140b0 commit 206888bCopy full SHA for 206888b
test/jasmine/tests/toimage_test.js
@@ -70,6 +70,8 @@ describe('Plotly.toImage', function() {
70
subplotMock.layout.width = 700;
71
72
Plotly.plot(gd, subplotMock.data, subplotMock.layout).then(function(gd) {
73
+ expect(gd.layout.height).toBe(600);
74
+ expect(gd.layout.width).toBe(700);
75
return Plotly.toImage(gd);
76
}).then(function(url) {
77
return new Promise(function(resolve) {
0 commit comments