@@ -145,11 +145,11 @@ describe('SdkHeadsetService', () => {
145145 describe ( 'endCurrentCall' , ( ) => {
146146 it ( 'should call the proper function in the headset library' , ( ) => {
147147 const endCurrentCallSpy = jest . spyOn ( headsetLibrary , 'endCall' ) ;
148- sdkHeadset . endCurrentCall ( '' ) ;
148+ sdkHeadset . endCurrentCall ( '' , false ) ;
149149 expect ( endCurrentCallSpy ) . not . toHaveBeenCalled ( ) ;
150150
151- sdkHeadset . endCurrentCall ( '123' ) ;
152- expect ( endCurrentCallSpy ) . toHaveBeenCalledWith ( '123' ) ;
151+ sdkHeadset . endCurrentCall ( '123' , false ) ;
152+ expect ( endCurrentCallSpy ) . toHaveBeenCalledWith ( '123' , false ) ;
153153
154154 const endAllCallsSpy = jest . spyOn ( headsetLibrary , 'endAllCalls' ) ;
155155 sdkHeadset . endAllCalls ( ) ;
@@ -235,7 +235,7 @@ describe('SdkHeadsetServiceStub', () => {
235235
236236 describe ( 'endCurrentCall()' , ( ) => {
237237 it ( 'should return an empty promise' , async ( ) => {
238- expect ( await headsetStub . endCurrentCall ( '' ) ) . toBe ( undefined ) ;
238+ expect ( await headsetStub . endCurrentCall ( '' , false ) ) . toBe ( undefined ) ;
239239 } ) ;
240240 } ) ;
241241
@@ -867,8 +867,8 @@ describe('HeadsetProxyService', () => {
867867 describe ( 'endCurrentCall' , ( ) => {
868868 it ( 'should proxy to headsetService' , ( ) => {
869869 const spy = currentHeadsetService . endCurrentCall = jest . fn ( ) ;
870- proxyService . endCurrentCall ( '123' ) ;
871- expect ( spy ) . toHaveBeenCalledWith ( '123' ) ;
870+ proxyService . endCurrentCall ( '123' , false ) ;
871+ expect ( spy ) . toHaveBeenCalledWith ( '123' , false ) ;
872872 } ) ;
873873 } ) ;
874874
0 commit comments