@@ -4,7 +4,7 @@ var Lib = require('@src/lib');
44var d3 = require ( 'd3' ) ;
55var createGraphDiv = require ( '../assets/create_graph_div' ) ;
66var destroyGraphDiv = require ( '../assets/destroy_graph_div' ) ;
7- var fail = require ( '../assets/fail_test.js' ) ;
7+ var failTest = require ( '../assets/fail_test.js' ) ;
88
99var customAssertions = require ( '../assets/custom_assertions' ) ;
1010var assertHoverLabelStyle = customAssertions . assertHoverLabelStyle ;
@@ -217,7 +217,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
217217
218218 Plotly . plot ( gd , _mock )
219219 . then ( run )
220- . catch ( fail )
220+ . catch ( failTest )
221221 . then ( done ) ;
222222 } ) ;
223223
@@ -256,7 +256,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
256256
257257 Plotly . plot ( gd , _mock )
258258 . then ( run )
259- . catch ( fail )
259+ . catch ( failTest )
260260 . then ( done ) ;
261261 } ) ;
262262
@@ -295,7 +295,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
295295
296296 Plotly . plot ( gd , _mock )
297297 . then ( run )
298- . catch ( fail )
298+ . catch ( failTest )
299299 . then ( done ) ;
300300 } ) ;
301301
@@ -315,7 +315,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
315315
316316 Plotly . plot ( gd , _mock )
317317 . then ( run )
318- . catch ( fail )
318+ . catch ( failTest )
319319 . then ( done ) ;
320320 } ) ;
321321
@@ -343,7 +343,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
343343
344344 Plotly . plot ( gd , _mock )
345345 . then ( run )
346- . catch ( fail )
346+ . catch ( failTest )
347347 . then ( done ) ;
348348 } ) ;
349349
@@ -376,7 +376,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
376376
377377 Plotly . plot ( gd , _mock )
378378 . then ( run )
379- . catch ( fail )
379+ . catch ( failTest )
380380 . then ( done ) ;
381381 } ) ;
382382
@@ -409,7 +409,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
409409
410410 Plotly . plot ( gd , _mock )
411411 . then ( run )
412- . catch ( fail )
412+ . catch ( failTest )
413413 . then ( done ) ;
414414 } ) ;
415415
@@ -451,7 +451,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
451451 return Plotly . restyle ( gd , 'visible' , false , [ 1 ] ) ;
452452 } )
453453 . then ( run2 )
454- . catch ( fail )
454+ . catch ( failTest )
455455 . then ( done ) ;
456456 } ) ;
457457
@@ -499,7 +499,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
499499 return Plotly . restyle ( gd , 'visible' , false , [ 1 ] ) ;
500500 } )
501501 . then ( run2 )
502- . catch ( fail )
502+ . catch ( failTest )
503503 . then ( done ) ;
504504 } ) ;
505505
@@ -527,7 +527,7 @@ describe('@gl @flaky Test hover and click interactions', function() {
527527
528528 Plotly . plot ( gd , _mock )
529529 . then ( run )
530- . catch ( fail )
530+ . catch ( failTest )
531531 . then ( done ) ;
532532 } ) ;
533533} ) ;
@@ -623,7 +623,7 @@ describe('@noCI @gl Test gl2d lasso/select:', function() {
623623 } ) ;
624624
625625 } )
626- . catch ( fail )
626+ . catch ( failTest )
627627 . then ( done ) ;
628628 } ) ;
629629
@@ -647,7 +647,7 @@ describe('@noCI @gl Test gl2d lasso/select:', function() {
647647 ]
648648 } ) ;
649649 } )
650- . catch ( fail )
650+ . catch ( failTest )
651651 . then ( done ) ;
652652 } ) ;
653653
@@ -667,7 +667,7 @@ describe('@noCI @gl Test gl2d lasso/select:', function() {
667667 points : [ { x : 0.004 , y : 12.5 } ]
668668 } ) ;
669669 } )
670- . catch ( fail )
670+ . catch ( failTest )
671671 . then ( done ) ;
672672 } ) ;
673673
@@ -686,7 +686,7 @@ describe('@noCI @gl Test gl2d lasso/select:', function() {
686686 points : [ { x : 0.099 , y : 2.75 } ]
687687 } ) ;
688688 } )
689- . catch ( fail )
689+ . catch ( failTest )
690690 . then ( done ) ;
691691 } ) ;
692692} ) ;
0 commit comments