@@ -268,16 +268,16 @@ describe('OdpManager', () => {
268
268
await odpManager . onReady ( ) ;
269
269
expect ( odpManager . isReady ( ) ) . toBe ( true ) ;
270
270
expect ( odpManager . getStatus ( ) ) . toEqual ( Status . Stopped ) ;
271
- verify ( mockEventManager . start ( ) ) . never ( ) ;
271
+ verify ( mockEventManager . start ( ) ) . never ( ) ;
272
272
} ) ;
273
273
274
274
it ( 'should pass the integrated odp config given in constructor to eventManger and segmentManager' , async ( ) => {
275
275
when ( mockEventManager . updateSettings ( anything ( ) ) ) . thenReturn ( undefined ) ;
276
276
when ( mockSegmentManager . updateSettings ( anything ( ) ) ) . thenReturn ( undefined ) ;
277
277
278
- const odpIntegrationConfig : OdpIntegratedConfig = {
279
- integrated : true ,
280
- odpConfig : new OdpConfig ( keyA , hostA , pixelA , segmentsA )
278
+ const odpIntegrationConfig : OdpIntegratedConfig = {
279
+ integrated : true ,
280
+ odpConfig : new OdpConfig ( keyA , hostA , pixelA , segmentsA )
281
281
} ;
282
282
283
283
const odpManager = testOdpManager ( {
@@ -362,9 +362,9 @@ describe('OdpManager', () => {
362
362
expect ( odpManager . isReady ( ) ) . toBe ( true ) ;
363
363
expect ( odpManager . getStatus ( ) ) . toEqual ( Status . Running ) ;
364
364
365
- const newOdpIntegrationConfig : OdpIntegratedConfig = {
366
- integrated : true ,
367
- odpConfig : new OdpConfig ( keyB , hostB , pixelB , segmentsB )
365
+ const newOdpIntegrationConfig : OdpIntegratedConfig = {
366
+ integrated : true ,
367
+ odpConfig : new OdpConfig ( keyB , hostB , pixelB , segmentsB )
368
368
} ;
369
369
370
370
odpManager . updateSettings ( newOdpIntegrationConfig ) ;
@@ -403,8 +403,8 @@ describe('OdpManager', () => {
403
403
expect ( odpManager . isReady ( ) ) . toBe ( true ) ;
404
404
expect ( odpManager . getStatus ( ) ) . toEqual ( Status . Running ) ;
405
405
406
- const newOdpIntegrationConfig : OdpNotIntegratedConfig = {
407
- integrated : false ,
406
+ const newOdpIntegrationConfig : OdpNotIntegratedConfig = {
407
+ integrated : false ,
408
408
} ;
409
409
410
410
odpManager . updateSettings ( newOdpIntegrationConfig ) ;
@@ -428,7 +428,7 @@ describe('OdpManager', () => {
428
428
} ) ;
429
429
430
430
await odpManager . onReady ( ) ;
431
-
431
+
432
432
verify ( mockEventManager . registerVuid ( anything ( ) ) ) . once ( ) ;
433
433
} ) ;
434
434
@@ -460,7 +460,7 @@ describe('OdpManager', () => {
460
460
const [ userIdArg2 , vuidArg2 ] = capture ( mockEventManager . identifyUser ) . byCallIndex ( 1 ) ;
461
461
expect ( userIdArg2 ) . toEqual ( userId ) ;
462
462
expect ( vuidArg2 ) . toEqual ( undefined ) ;
463
-
463
+
464
464
odpManager . identifyUser ( vuid ) ;
465
465
const [ userIdArg3 , vuidArg3 ] = capture ( mockEventManager . identifyUser ) . byCallIndex ( 2 ) ;
466
466
expect ( userIdArg3 ) . toEqual ( undefined ) ;
0 commit comments