File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ var Plotly = require('@lib/index');
33var d3 = require ( 'd3' ) ;
44var createGraphDiv = require ( '../assets/create_graph_div' ) ;
55var destroyGraphDiv = require ( '../assets/destroy_graph_div' ) ;
6- var fail = require ( '../assets/fail_test' ) ;
6+ var failTest = require ( '../assets/fail_test' ) ;
77
88var subplotMock = require ( '../../image/mocks/multiple_subplots.json' ) ;
99var annotationMock = require ( '../../image/mocks/annotations.json' ) ;
@@ -297,7 +297,7 @@ describe('Plotly.Snapshot', function() {
297297 expect ( legendPointElements . length ) . toEqual ( 1 ) ;
298298 expect ( legendPointElements [ 0 ] . style . fill . substr ( 0 , 6 ) ) . toEqual ( 'url(\"#' ) ;
299299 } )
300- . catch ( fail )
300+ . catch ( failTest )
301301 . then ( done ) ;
302302 } ) ;
303303
@@ -317,7 +317,7 @@ describe('Plotly.Snapshot', function() {
317317 expect ( el . getAttribute ( 'height' ) ) . toBe ( '1000' , 'height' ) ;
318318 expect ( el . getAttribute ( 'viewBox' ) ) . toBe ( '0 0 300 400' , 'viewbox' ) ;
319319 } )
320- . catch ( fail )
320+ . catch ( failTest )
321321 . then ( done ) ;
322322 } ) ;
323323 } ) ;
You can’t perform that action at this time.
0 commit comments