Skip to content

Commit 8969726

Browse files
committed
fix scrollZoom test cleanup
1 parent 09e0a5d commit 8969726

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/jasmine/tests/config_test.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -767,10 +767,7 @@ describe('config argument', function() {
767767
describe('scrollZoom interactions:', function() {
768768
var gd;
769769

770-
afterEach(function() {
771-
Plotly.purge(gd);
772-
destroyGraphDiv();
773-
});
770+
afterEach(destroyGraphDiv);
774771

775772
function _scroll() {
776773
var mainDrag = d3.select('.nsewdrag[data-subplot="xy"]').node();

0 commit comments

Comments
 (0)