diff --git a/test/spec/modules/eids_spec.js b/test/spec/modules/eids_spec.js index 160bebde1d2..7fa642505ab 100644 --- a/test/spec/modules/eids_spec.js +++ b/test/spec/modules/eids_spec.js @@ -304,7 +304,7 @@ describe('eids array generation for known sub-modules', function() { }); }); - it('openx',function () { + it('openx', function () { const userId = { openx: { 'id': 'sample_id' } }; @@ -319,9 +319,9 @@ describe('eids array generation for known sub-modules', function() { }); }); - it('openx with ext',function () { + it('openx with ext', function () { const userId = { - openx: { 'id': 'sample_id','ext': { 'provider': 'some.provider.com' } } + openx: { 'id': 'sample_id', 'ext': { 'provider': 'some.provider.com' } } }; const newEids = createEidsArray(userId); expect(newEids.length).to.equal(1); @@ -336,7 +336,7 @@ describe('eids array generation for known sub-modules', function() { }] }); }); - + it('liveIntentId; getValue call and NO ext', function() { const userId = { lipb: { diff --git a/test/spec/modules/liveIntentIdMinimalSystem_spec.js b/test/spec/modules/liveIntentIdMinimalSystem_spec.js index a073945ab82..1da1aa4ef76 100644 --- a/test/spec/modules/liveIntentIdMinimalSystem_spec.js +++ b/test/spec/modules/liveIntentIdMinimalSystem_spec.js @@ -271,9 +271,10 @@ describe('LiveIntentMinimalId', function() { expect(result).to.eql({'lipb': {'lipbid': 'foo', 'nonId': 'foo', 'index': 'bar'}, 'index': {'id': 'bar', 'ext': {'provider': 'liveintent.com'}}}); }); - it('should decode an openx id to a seperate object when present',function () { - const result = liveIntentIdSubmodule.decode({ nonId: 'foo',openx: 'bar' }); - expect(result).to.eql({ 'lipb': { 'lipbid': 'foo','nonId': 'foo','openx': 'bar' },'openx': { 'id': 'bar','ext': { 'provider': 'liveintent.com' } } }); + it('should decode an openx id to a seperate object when present', function () { + const result = liveIntentIdSubmodule.decode({ nonId: 'foo', openx: 'bar' }); + expect(result).to.eql({'lipb': {'lipbid': 'foo', 'nonId': 'foo', 'openx': 'bar'}, 'openx': {'id': 'bar', 'ext': {'provider': 'liveintent.com'}}}); + }); it('should allow disabling nonId resolution', function() { let callBackSpy = sinon.spy(); diff --git a/test/spec/modules/liveIntentIdSystem_spec.js b/test/spec/modules/liveIntentIdSystem_spec.js index 8ee48f89d18..c4be420a977 100644 --- a/test/spec/modules/liveIntentIdSystem_spec.js +++ b/test/spec/modules/liveIntentIdSystem_spec.js @@ -383,9 +383,9 @@ describe('LiveIntentId', function() { expect(result).to.eql({'lipb': {'lipbid': 'foo', 'nonId': 'foo', 'index': 'bar'}, 'index': {'id': 'bar', 'ext': {'provider': 'liveintent.com'}}}); }); - it('should decode an openx id to a seperate object when present',function () { - const result = liveIntentIdSubmodule.decode({ nonId: 'foo',openx: 'bar' }); - expect(result).to.eql({ 'lipb': { 'lipbid': 'foo','nonId': 'foo','openx': 'bar' },'openx': { 'id': 'bar','ext': { 'provider': 'liveintent.com' } } }); + it('should decode an openx id to a seperate object when present', function () { + const result = liveIntentIdSubmodule.decode({ nonId: 'foo', openx: 'bar' }); + expect(result).to.eql({ 'lipb': { 'lipbid': 'foo', 'nonId': 'foo', 'openx': 'bar' }, 'openx': { 'id': 'bar', 'ext': { 'provider': 'liveintent.com' } } }); }); it('should allow disabling nonId resolution', function() {