11var Plotly = require ( '@lib/index' ) ;
22var Lib = require ( '@src/lib' ) ;
33
4- var helpers = require ( '@src/snapshot/helpers' ) ;
5- var getImageSize = require ( '@src/traces/image/helpers' ) . getImageSize ;
4+ // var helpers = require('@src/snapshot/helpers');
5+ // var getImageSize = require('@src/traces/image/helpers').getImageSize;
66
77var createGraphDiv = require ( '../assets/create_graph_div' ) ;
88var destroyGraphDiv = require ( '../assets/destroy_graph_div' ) ;
@@ -137,8 +137,8 @@ describe('Plotly.downloadImage', function() {
137137 } )
138138 . then ( done , done . fail ) ;
139139 } , LONG_TIMEOUT_INTERVAL ) ;
140-
141- it ( 'should produce right output in Safari' , function ( done ) {
140+ /*
141+ it('should produce right output in Old Safari', function(done) {
142142 spyOn(Lib, 'isSafari').and.callFake(function() { return true; });
143143 spyOn(helpers, 'octetStream');
144144
@@ -157,7 +157,7 @@ describe('Plotly.downloadImage', function() {
157157 .then(done, done.fail);
158158 });
159159
160- it ( 'should default width & height for downloadImage to match with the live graph' , function ( done ) {
160+ it('should default width & height for downloadImage to match with the live graph on Old Safari ', function(done) {
161161 spyOn(Lib, 'isSafari').and.callFake(function() { return true; });
162162 spyOn(helpers, 'octetStream');
163163
@@ -182,6 +182,7 @@ describe('Plotly.downloadImage', function() {
182182 })
183183 .then(done, done.fail);
184184 });
185+ */
185186} ) ;
186187
187188function downloadTest ( gd , format ) {
0 commit comments