Skip to content

Commit 5e63feb

Browse files
committed
update coordinates
1 parent 9a0af27 commit 5e63feb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/gl2d_plot_interact_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ describe('Test gl plot side effects', function() {
198198

199199
Plotly.newPlot(gd, _mock)
200200
.then(function() {
201-
expect(gd.querySelector('.gl-canvas-context').width).toBe(600);
201+
expect(gd.querySelector('.gl-canvas-context').width).toBe(1200);
202202

203203
return Plotly.relayout(gd, {width: 300});
204204
})
205205
.then(function() {
206-
expect(gd.querySelector('.gl-canvas-context').width).toBe(300);
206+
expect(gd.querySelector('.gl-canvas-context').width).toBe(600);
207207
})
208208
.then(done, done.fail);
209209
});

0 commit comments

Comments
 (0)