Skip to content

Commit ad5089e

Browse files
committed
test: make sure all '#graph' nodes are purged after toimage tests
1 parent 8a29a89 commit ad5089e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/jasmine/tests/toimage_test.js

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ describe('Plotly.toImage', function() {
2222
// make sure ALL graph divs are deleted,
2323
// even the ones generated by Plotly.toImage
2424
d3.selectAll('.js-plotly-plot').remove();
25+
d3.selectAll('#graph').remove();
2526
});
2627

2728
it('should be attached to Plotly', function() {

0 commit comments

Comments
 (0)