@@ -533,7 +533,7 @@ describe('config argument', function() {
533
533
expect ( gd . _context . plotlyServerURL ) . not . toBe ( 'https://chart-studio.plotly.com' ) ;
534
534
expect ( gd . _context . plotlyServerURL ) . toBe ( '' ) ;
535
535
536
- Plots . sendDataToCloud ( gd ) ;
536
+ Plotly . Plots . sendDataToCloud ( gd ) ;
537
537
expect ( form ) . toBe ( undefined ) ;
538
538
} )
539
539
. then ( done , done . fail ) ;
@@ -546,7 +546,7 @@ describe('config argument', function() {
546
546
. then ( function ( ) {
547
547
expect ( gd . _context . plotlyServerURL ) . toBe ( 'https://chart-studio.plotly.com' ) ;
548
548
549
- Plots . sendDataToCloud ( gd ) ;
549
+ Plotly . Plots . sendDataToCloud ( gd ) ;
550
550
expect ( form . action ) . toBe ( 'https://chart-studio.plotly.com/external' ) ;
551
551
expect ( form . method ) . toBe ( 'post' ) ;
552
552
} )
@@ -558,7 +558,7 @@ describe('config argument', function() {
558
558
. then ( function ( ) {
559
559
expect ( gd . _context . plotlyServerURL ) . toBe ( 'dummy' ) ;
560
560
561
- Plots . sendDataToCloud ( gd ) ;
561
+ Plotly . Plots . sendDataToCloud ( gd ) ;
562
562
expect ( form . action ) . toContain ( '/dummy/external' ) ;
563
563
expect ( form . method ) . toBe ( 'post' ) ;
564
564
} )
@@ -572,7 +572,7 @@ describe('config argument', function() {
572
572
. then ( function ( ) {
573
573
expect ( gd . _context . plotlyServerURL ) . toBe ( 'dummy' ) ;
574
574
575
- Plots . sendDataToCloud ( gd ) ;
575
+ Plotly . Plots . sendDataToCloud ( gd ) ;
576
576
expect ( form . action ) . toContain ( '/yo/external' ) ;
577
577
expect ( form . method ) . toBe ( 'post' ) ;
578
578
} )
0 commit comments