Skip to content

Commit cbf46a2

Browse files
committed
comment tests related to old Safari
1 parent dfde26c commit cbf46a2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/jasmine/tests/download_test.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
var Plotly = require('@lib/index');
22
var 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

77
var createGraphDiv = require('../assets/create_graph_div');
88
var 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

187188
function downloadTest(gd, format) {

0 commit comments

Comments
 (0)