File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ var assertHoverLabelContent = customAssertions.assertHoverLabelContent;
1414var supplyAllDefaults = require ( '../assets/supply_defaults' ) ;
1515var Fx = require ( '@src/components/fx' ) ;
1616
17- var incompatibleUserAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15' ;
18-
1917describe ( 'image supplyDefaults' , function ( ) {
2018 'use strict' ;
2119
@@ -422,25 +420,6 @@ describe('image plot', function() {
422420 . then ( done ) ;
423421 } ) ;
424422
425- [
426- incompatibleUserAgent
427- ] . forEach ( function ( userAgent ) {
428- it ( 'does not render pixelated image when browser is not compatible' , function ( done ) {
429- var mock = require ( '@mocks/image_labuda_droplets_source.json' ) ;
430- var mockCopy = Lib . extendDeep ( { } , mock ) ;
431- var spyObj = spyOnProperty ( window . navigator , 'userAgent' ) . and . returnValue ( userAgent ) ;
432-
433- Plotly . newPlot ( gd , mockCopy )
434- . then ( function ( gd ) {
435- expect ( gd . calcdata [ 0 ] [ 0 ] . trace . _fastImage ) . toBe ( false ) ;
436- // Clear spy
437- spyObj . and . callThrough ( ) ;
438- } )
439- . catch ( failTest )
440- . then ( done ) ;
441- } ) ;
442- } ) ;
443-
444423 [
445424 [ 'yaxis.type' , 'log' ] ,
446425 [ 'xaxis.type' , 'log' ] ,
You can’t perform that action at this time.
0 commit comments