@@ -540,9 +540,7 @@ describe('TransitGatewayApisV1', () => {
540540 transitGatewayId : transitGatewayId ,
541541 } ;
542542
543- const listTransitGatewayConnectionsResult = transitGatewayApisService . listTransitGatewayConnections (
544- params
545- ) ;
543+ const listTransitGatewayConnectionsResult = transitGatewayApisService . listTransitGatewayConnections ( params ) ;
546544
547545 // all methods should return a Promise
548546 expectToBePromise ( listTransitGatewayConnectionsResult ) ;
@@ -620,8 +618,7 @@ describe('TransitGatewayApisV1', () => {
620618 const localTunnelIp = '192.168.129.2' ;
621619 const name = 'Transit_Service_BWTN_SJ_DL' ;
622620 const networkAccountId = '28e4d90ac7504be694471ee66e70d0d5' ;
623- const networkId =
624- 'crn:v1:bluemix:public:is:us-south:a/123456::vpc:4727d842-f94f-4a2d-824a-9bc9b02c523b' ;
621+ const networkId = 'crn:v1:bluemix:public:is:us-south:a/123456::vpc:4727d842-f94f-4a2d-824a-9bc9b02c523b' ;
625622 const remoteBgpAsn = '65010' ;
626623 const remoteGatewayIp = '10.242.63.12' ;
627624 const remoteTunnelIp = '192.168.129.1' ;
@@ -641,9 +638,7 @@ describe('TransitGatewayApisV1', () => {
641638 zone : zone ,
642639 } ;
643640
644- const createTransitGatewayConnectionResult = transitGatewayApisService . createTransitGatewayConnection (
645- params
646- ) ;
641+ const createTransitGatewayConnectionResult = transitGatewayApisService . createTransitGatewayConnection ( params ) ;
647642
648643 // all methods should return a Promise
649644 expectToBePromise ( createTransitGatewayConnectionResult ) ;
@@ -727,9 +722,7 @@ describe('TransitGatewayApisV1', () => {
727722 id : id ,
728723 } ;
729724
730- const deleteTransitGatewayConnectionResult = transitGatewayApisService . deleteTransitGatewayConnection (
731- params
732- ) ;
725+ const deleteTransitGatewayConnectionResult = transitGatewayApisService . deleteTransitGatewayConnection ( params ) ;
733726
734727 // all methods should return a Promise
735728 expectToBePromise ( deleteTransitGatewayConnectionResult ) ;
@@ -739,11 +732,7 @@ describe('TransitGatewayApisV1', () => {
739732
740733 const options = getOptions ( createRequestMock ) ;
741734
742- checkUrlAndMethod (
743- options ,
744- '/transit_gateways/{transit_gateway_id}/connections/{id}' ,
745- 'DELETE'
746- ) ;
735+ checkUrlAndMethod ( options , '/transit_gateways/{transit_gateway_id}/connections/{id}' , 'DELETE' ) ;
747736 const expectedAccept = undefined ;
748737 const expectedContentType = undefined ;
749738 checkMediaHeaders ( createRequestMock , expectedAccept , expectedContentType ) ;
@@ -807,9 +796,7 @@ describe('TransitGatewayApisV1', () => {
807796 id : id ,
808797 } ;
809798
810- const getTransitGatewayConnectionResult = transitGatewayApisService . getTransitGatewayConnection (
811- params
812- ) ;
799+ const getTransitGatewayConnectionResult = transitGatewayApisService . getTransitGatewayConnection ( params ) ;
813800
814801 // all methods should return a Promise
815802 expectToBePromise ( getTransitGatewayConnectionResult ) ;
@@ -819,11 +806,7 @@ describe('TransitGatewayApisV1', () => {
819806
820807 const options = getOptions ( createRequestMock ) ;
821808
822- checkUrlAndMethod (
823- options ,
824- '/transit_gateways/{transit_gateway_id}/connections/{id}' ,
825- 'GET'
826- ) ;
809+ checkUrlAndMethod ( options , '/transit_gateways/{transit_gateway_id}/connections/{id}' , 'GET' ) ;
827810 const expectedAccept = 'application/json' ;
828811 const expectedContentType = undefined ;
829812 checkMediaHeaders ( createRequestMock , expectedAccept , expectedContentType ) ;
@@ -889,9 +872,7 @@ describe('TransitGatewayApisV1', () => {
889872 name : name ,
890873 } ;
891874
892- const updateTransitGatewayConnectionResult = transitGatewayApisService . updateTransitGatewayConnection (
893- params
894- ) ;
875+ const updateTransitGatewayConnectionResult = transitGatewayApisService . updateTransitGatewayConnection ( params ) ;
895876
896877 // all methods should return a Promise
897878 expectToBePromise ( updateTransitGatewayConnectionResult ) ;
@@ -901,11 +882,7 @@ describe('TransitGatewayApisV1', () => {
901882
902883 const options = getOptions ( createRequestMock ) ;
903884
904- checkUrlAndMethod (
905- options ,
906- '/transit_gateways/{transit_gateway_id}/connections/{id}' ,
907- 'PATCH'
908- ) ;
885+ checkUrlAndMethod ( options , '/transit_gateways/{transit_gateway_id}/connections/{id}' , 'PATCH' ) ;
909886 const expectedAccept = 'application/json' ;
910887 const expectedContentType = 'application/json' ;
911888 checkMediaHeaders ( createRequestMock , expectedAccept , expectedContentType ) ;
@@ -972,9 +949,7 @@ describe('TransitGatewayApisV1', () => {
972949 action : action ,
973950 } ;
974951
975- const createTransitGatewayConnectionActionsResult = transitGatewayApisService . createTransitGatewayConnectionActions (
976- params
977- ) ;
952+ const createTransitGatewayConnectionActionsResult = transitGatewayApisService . createTransitGatewayConnectionActions ( params ) ;
978953
979954 // all methods should return a Promise
980955 expectToBePromise ( createTransitGatewayConnectionActionsResult ) ;
@@ -984,11 +959,7 @@ describe('TransitGatewayApisV1', () => {
984959
985960 const options = getOptions ( createRequestMock ) ;
986961
987- checkUrlAndMethod (
988- options ,
989- '/transit_gateways/{transit_gateway_id}/connections/{id}/actions' ,
990- 'POST'
991- ) ;
962+ checkUrlAndMethod ( options , '/transit_gateways/{transit_gateway_id}/connections/{id}/actions' , 'POST' ) ;
992963 const expectedAccept = undefined ;
993964 const expectedContentType = 'application/json' ;
994965 checkMediaHeaders ( createRequestMock , expectedAccept , expectedContentType ) ;
0 commit comments