@@ -4,7 +4,7 @@ var Lib = require('@src/lib');
4
4
var d3 = require ( 'd3' ) ;
5
5
var createGraphDiv = require ( '../assets/create_graph_div' ) ;
6
6
var destroyGraphDiv = require ( '../assets/destroy_graph_div' ) ;
7
- var fail = require ( '../assets/fail_test.js' ) ;
7
+ var failTest = require ( '../assets/fail_test.js' ) ;
8
8
9
9
var customAssertions = require ( '../assets/custom_assertions' ) ;
10
10
var assertHoverLabelStyle = customAssertions . assertHoverLabelStyle ;
@@ -217,7 +217,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
217
217
218
218
Plotly . plot ( gd , _mock )
219
219
. then ( run )
220
- . catch ( fail )
220
+ . catch ( failTest )
221
221
. then ( done ) ;
222
222
} ) ;
223
223
@@ -256,7 +256,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
256
256
257
257
Plotly . plot ( gd , _mock )
258
258
. then ( run )
259
- . catch ( fail )
259
+ . catch ( failTest )
260
260
. then ( done ) ;
261
261
} ) ;
262
262
@@ -295,7 +295,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
295
295
296
296
Plotly . plot ( gd , _mock )
297
297
. then ( run )
298
- . catch ( fail )
298
+ . catch ( failTest )
299
299
. then ( done ) ;
300
300
} ) ;
301
301
@@ -315,7 +315,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
315
315
316
316
Plotly . plot ( gd , _mock )
317
317
. then ( run )
318
- . catch ( fail )
318
+ . catch ( failTest )
319
319
. then ( done ) ;
320
320
} ) ;
321
321
@@ -343,7 +343,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
343
343
344
344
Plotly . plot ( gd , _mock )
345
345
. then ( run )
346
- . catch ( fail )
346
+ . catch ( failTest )
347
347
. then ( done ) ;
348
348
} ) ;
349
349
@@ -376,7 +376,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
376
376
377
377
Plotly . plot ( gd , _mock )
378
378
. then ( run )
379
- . catch ( fail )
379
+ . catch ( failTest )
380
380
. then ( done ) ;
381
381
} ) ;
382
382
@@ -409,7 +409,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
409
409
410
410
Plotly . plot ( gd , _mock )
411
411
. then ( run )
412
- . catch ( fail )
412
+ . catch ( failTest )
413
413
. then ( done ) ;
414
414
} ) ;
415
415
@@ -451,7 +451,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
451
451
return Plotly . restyle ( gd , 'visible' , false , [ 1 ] ) ;
452
452
} )
453
453
. then ( run2 )
454
- . catch ( fail )
454
+ . catch ( failTest )
455
455
. then ( done ) ;
456
456
} ) ;
457
457
@@ -499,7 +499,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
499
499
return Plotly . restyle ( gd , 'visible' , false , [ 1 ] ) ;
500
500
} )
501
501
. then ( run2 )
502
- . catch ( fail )
502
+ . catch ( failTest )
503
503
. then ( done ) ;
504
504
} ) ;
505
505
@@ -527,7 +527,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
527
527
528
528
Plotly . plot ( gd , _mock )
529
529
. then ( run )
530
- . catch ( fail )
530
+ . catch ( failTest )
531
531
. then ( done ) ;
532
532
} ) ;
533
533
} ) ;
@@ -623,7 +623,7 @@ describe('@noCI @gl Test gl2d lasso/select:', function() {
623
623
} ) ;
624
624
625
625
} )
626
- . catch ( fail )
626
+ . catch ( failTest )
627
627
. then ( done ) ;
628
628
} ) ;
629
629
@@ -647,7 +647,7 @@ describe('@noCI @gl Test gl2d lasso/select:', function() {
647
647
]
648
648
} ) ;
649
649
} )
650
- . catch ( fail )
650
+ . catch ( failTest )
651
651
. then ( done ) ;
652
652
} ) ;
653
653
@@ -667,7 +667,7 @@ describe('@noCI @gl Test gl2d lasso/select:', function() {
667
667
points : [ { x : 0.004 , y : 12.5 } ]
668
668
} ) ;
669
669
} )
670
- . catch ( fail )
670
+ . catch ( failTest )
671
671
. then ( done ) ;
672
672
} ) ;
673
673
@@ -686,7 +686,7 @@ describe('@noCI @gl Test gl2d lasso/select:', function() {
686
686
points : [ { x : 0.099 , y : 2.75 } ]
687
687
} ) ;
688
688
} )
689
- . catch ( fail )
689
+ . catch ( failTest )
690
690
. then ( done ) ;
691
691
} ) ;
692
692
} ) ;
0 commit comments