@@ -56,7 +56,9 @@ describe('IbmAnalyticsEngineApiV2', () => {
56
56
57
57
expect ( getAuthenticatorMock ) . toHaveBeenCalled ( ) ;
58
58
expect ( testInstance . baseOptions . authenticator ) . toBeInstanceOf ( NoAuthAuthenticator ) ;
59
- expect ( testInstance . baseOptions . serviceName ) . toBe ( IbmAnalyticsEngineApiV2 . DEFAULT_SERVICE_NAME ) ;
59
+ expect ( testInstance . baseOptions . serviceName ) . toBe (
60
+ IbmAnalyticsEngineApiV2 . DEFAULT_SERVICE_NAME
61
+ ) ;
60
62
expect ( testInstance . baseOptions . serviceUrl ) . toBe ( IbmAnalyticsEngineApiV2 . DEFAULT_SERVICE_URL ) ;
61
63
expect ( testInstance ) . toBeInstanceOf ( IbmAnalyticsEngineApiV2 ) ;
62
64
} ) ;
@@ -220,7 +222,9 @@ describe('IbmAnalyticsEngineApiV2', () => {
220
222
instanceGuid : instanceGuid ,
221
223
} ;
222
224
223
- const getAnalyticsEngineStateByIdResult = ibmAnalyticsEngineApi . getAnalyticsEngineStateById ( params ) ;
225
+ const getAnalyticsEngineStateByIdResult = ibmAnalyticsEngineApi . getAnalyticsEngineStateById (
226
+ params
227
+ ) ;
224
228
225
229
// all methods should return a Promise
226
230
expectToBePromise ( getAnalyticsEngineStateByIdResult ) ;
@@ -309,7 +313,9 @@ describe('IbmAnalyticsEngineApiV2', () => {
309
313
customActions : customActions ,
310
314
} ;
311
315
312
- const createCustomizationRequestResult = ibmAnalyticsEngineApi . createCustomizationRequest ( params ) ;
316
+ const createCustomizationRequestResult = ibmAnalyticsEngineApi . createCustomizationRequest (
317
+ params
318
+ ) ;
313
319
314
320
// all methods should return a Promise
315
321
expectToBePromise ( createCustomizationRequestResult ) ;
@@ -319,7 +325,11 @@ describe('IbmAnalyticsEngineApiV2', () => {
319
325
320
326
const options = getOptions ( createRequestMock ) ;
321
327
322
- checkUrlAndMethod ( options , '/v2/analytics_engines/{instance_guid}/customization_requests' , 'POST' ) ;
328
+ checkUrlAndMethod (
329
+ options ,
330
+ '/v2/analytics_engines/{instance_guid}/customization_requests' ,
331
+ 'POST'
332
+ ) ;
323
333
const expectedAccept = 'application/json' ;
324
334
const expectedContentType = 'application/json' ;
325
335
checkMediaHeaders ( createRequestMock , expectedAccept , expectedContentType ) ;
@@ -383,7 +393,9 @@ describe('IbmAnalyticsEngineApiV2', () => {
383
393
instanceGuid : instanceGuid ,
384
394
} ;
385
395
386
- const getAllCustomizationRequestsResult = ibmAnalyticsEngineApi . getAllCustomizationRequests ( params ) ;
396
+ const getAllCustomizationRequestsResult = ibmAnalyticsEngineApi . getAllCustomizationRequests (
397
+ params
398
+ ) ;
387
399
388
400
// all methods should return a Promise
389
401
expectToBePromise ( getAllCustomizationRequestsResult ) ;
@@ -393,7 +405,11 @@ describe('IbmAnalyticsEngineApiV2', () => {
393
405
394
406
const options = getOptions ( createRequestMock ) ;
395
407
396
- checkUrlAndMethod ( options , '/v2/analytics_engines/{instance_guid}/customization_requests' , 'GET' ) ;
408
+ checkUrlAndMethod (
409
+ options ,
410
+ '/v2/analytics_engines/{instance_guid}/customization_requests' ,
411
+ 'GET'
412
+ ) ;
397
413
const expectedAccept = 'application/json' ;
398
414
const expectedContentType = undefined ;
399
415
checkMediaHeaders ( createRequestMock , expectedAccept , expectedContentType ) ;
@@ -453,7 +469,9 @@ describe('IbmAnalyticsEngineApiV2', () => {
453
469
requestId : requestId ,
454
470
} ;
455
471
456
- const getCustomizationRequestByIdResult = ibmAnalyticsEngineApi . getCustomizationRequestById ( params ) ;
472
+ const getCustomizationRequestByIdResult = ibmAnalyticsEngineApi . getCustomizationRequestById (
473
+ params
474
+ ) ;
457
475
458
476
// all methods should return a Promise
459
477
expectToBePromise ( getCustomizationRequestByIdResult ) ;
@@ -463,7 +481,11 @@ describe('IbmAnalyticsEngineApiV2', () => {
463
481
464
482
const options = getOptions ( createRequestMock ) ;
465
483
466
- checkUrlAndMethod ( options , '/v2/analytics_engines/{instance_guid}/customization_requests/{request_id}' , 'GET' ) ;
484
+ checkUrlAndMethod (
485
+ options ,
486
+ '/v2/analytics_engines/{instance_guid}/customization_requests/{request_id}' ,
487
+ 'GET'
488
+ ) ;
467
489
const expectedAccept = 'application/json' ;
468
490
const expectedContentType = undefined ;
469
491
checkMediaHeaders ( createRequestMock , expectedAccept , expectedContentType ) ;
@@ -898,7 +920,9 @@ describe('IbmAnalyticsEngineApiV2', () => {
898
920
action : action ,
899
921
} ;
900
922
901
- const updatePrivateEndpointWhitelistResult = ibmAnalyticsEngineApi . updatePrivateEndpointWhitelist ( params ) ;
923
+ const updatePrivateEndpointWhitelistResult = ibmAnalyticsEngineApi . updatePrivateEndpointWhitelist (
924
+ params
925
+ ) ;
902
926
903
927
// all methods should return a Promise
904
928
expectToBePromise ( updatePrivateEndpointWhitelistResult ) ;
@@ -908,7 +932,11 @@ describe('IbmAnalyticsEngineApiV2', () => {
908
932
909
933
const options = getOptions ( createRequestMock ) ;
910
934
911
- checkUrlAndMethod ( options , '/v2/analytics_engines/{instance_guid}/private_endpoint_whitelist' , 'PATCH' ) ;
935
+ checkUrlAndMethod (
936
+ options ,
937
+ '/v2/analytics_engines/{instance_guid}/private_endpoint_whitelist' ,
938
+ 'PATCH'
939
+ ) ;
912
940
const expectedAccept = 'application/json' ;
913
941
const expectedContentType = 'application/json' ;
914
942
checkMediaHeaders ( createRequestMock , expectedAccept , expectedContentType ) ;
0 commit comments