Skip to content

Commit 2c2b94a

Browse files
committed
fix gl2d cleanPlot test
1 parent 8882813 commit 2c2b94a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/jasmine/tests/cartesian_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ describe('restyle', function() {
186186
.then(done);
187187
});
188188

189-
it('can legend-hide the second and only scattergl trace', function(done) {
189+
it('@gl can legend-hide the second and only scattergl trace', function(done) {
190190
Plotly.plot(gd, [
191191
{y: [1, 2, 3], type: 'bar'},
192192
{y: [1, 2, 3], xaxis: 'x2', yaxis: 'y2', type: 'scattergl'}

test/jasmine/tests/gl2d_plot_interact_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('@gl Test removal of gl contexts', function() {
3939
expect(gd._fullLayout._plots.xy._scene).toBeDefined();
4040
Plots.cleanPlot([], {}, gd._fullData, gd._fullLayout);
4141

42-
expect(gd._fullLayout._plots.xy._scene).toBeUndefined();
42+
expect(!!gd._fullLayout._plots.xy._scene).toBe(false);
4343
})
4444
.then(done);
4545
});

0 commit comments

Comments
 (0)