@@ -533,7 +533,7 @@ describe('config argument', function() {
533533 expect ( gd . _context . plotlyServerURL ) . not . toBe ( 'https://chart-studio.plotly.com' ) ;
534534 expect ( gd . _context . plotlyServerURL ) . toBe ( '' ) ;
535535
536- Plots . sendDataToCloud ( gd ) ;
536+ Plotly . Plots . sendDataToCloud ( gd ) ;
537537 expect ( form ) . toBe ( undefined ) ;
538538 } )
539539 . then ( done , done . fail ) ;
@@ -546,7 +546,7 @@ describe('config argument', function() {
546546 . then ( function ( ) {
547547 expect ( gd . _context . plotlyServerURL ) . toBe ( 'https://chart-studio.plotly.com' ) ;
548548
549- Plots . sendDataToCloud ( gd ) ;
549+ Plotly . Plots . sendDataToCloud ( gd ) ;
550550 expect ( form . action ) . toBe ( 'https://chart-studio.plotly.com/external' ) ;
551551 expect ( form . method ) . toBe ( 'post' ) ;
552552 } )
@@ -558,7 +558,7 @@ describe('config argument', function() {
558558 . then ( function ( ) {
559559 expect ( gd . _context . plotlyServerURL ) . toBe ( 'dummy' ) ;
560560
561- Plots . sendDataToCloud ( gd ) ;
561+ Plotly . Plots . sendDataToCloud ( gd ) ;
562562 expect ( form . action ) . toContain ( '/dummy/external' ) ;
563563 expect ( form . method ) . toBe ( 'post' ) ;
564564 } )
@@ -572,7 +572,7 @@ describe('config argument', function() {
572572 . then ( function ( ) {
573573 expect ( gd . _context . plotlyServerURL ) . toBe ( 'dummy' ) ;
574574
575- Plots . sendDataToCloud ( gd ) ;
575+ Plotly . Plots . sendDataToCloud ( gd ) ;
576576 expect ( form . action ) . toContain ( '/yo/external' ) ;
577577 expect ( form . method ) . toBe ( 'post' ) ;
578578 } )
0 commit comments