Skip to content

Commit 8d08500

Browse files
committed
legend tests: destroyGraphDiv after tests
1 parent 1fdb14f commit 8d08500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/jasmine/tests/legend_test.js

+2
Original file line numberDiff line numberDiff line change
@@ -1645,6 +1645,8 @@ describe('legend interaction', function() {
16451645
describe('legend DOM', function() {
16461646
'use strict';
16471647

1648+
afterEach(destroyGraphDiv);
1649+
16481650
it('draws `legendtoggle` last to make sure it is unobstructed', function(done) {
16491651
var gd = createGraphDiv();
16501652
Plotly.newPlot(gd, mock)

0 commit comments

Comments
 (0)