File tree 1 file changed +3
-3
lines changed
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');
3
3
var d3 = require ( 'd3' ) ;
4
4
var createGraphDiv = require ( '../assets/create_graph_div' ) ;
5
5
var destroyGraphDiv = require ( '../assets/destroy_graph_div' ) ;
6
- var fail = require ( '../assets/fail_test' ) ;
6
+ var failTest = require ( '../assets/fail_test' ) ;
7
7
8
8
var subplotMock = require ( '../../image/mocks/multiple_subplots.json' ) ;
9
9
var annotationMock = require ( '../../image/mocks/annotations.json' ) ;
@@ -297,7 +297,7 @@ describe('Plotly.Snapshot', function() {
297
297
expect ( legendPointElements . length ) . toEqual ( 1 ) ;
298
298
expect ( legendPointElements [ 0 ] . style . fill . substr ( 0 , 6 ) ) . toEqual ( 'url(\"#' ) ;
299
299
} )
300
- . catch ( fail )
300
+ . catch ( failTest )
301
301
. then ( done ) ;
302
302
} ) ;
303
303
@@ -317,7 +317,7 @@ describe('Plotly.Snapshot', function() {
317
317
expect ( el . getAttribute ( 'height' ) ) . toBe ( '1000' , 'height' ) ;
318
318
expect ( el . getAttribute ( 'viewBox' ) ) . toBe ( '0 0 300 400' , 'viewbox' ) ;
319
319
} )
320
- . catch ( fail )
320
+ . catch ( failTest )
321
321
. then ( done ) ;
322
322
} ) ;
323
323
} ) ;
You can’t perform that action at this time.
0 commit comments