Skip to content

Commit 206888b

Browse files
committed
test: make toimage_test.js stricter
1 parent f9140b0 commit 206888b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/jasmine/tests/toimage_test.js

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ describe('Plotly.toImage', function() {
7070
subplotMock.layout.width = 700;
7171

7272
Plotly.plot(gd, subplotMock.data, subplotMock.layout).then(function(gd) {
73+
expect(gd.layout.height).toBe(600);
74+
expect(gd.layout.width).toBe(700);
7375
return Plotly.toImage(gd);
7476
}).then(function(url) {
7577
return new Promise(function(resolve) {

0 commit comments

Comments
 (0)