Skip to content

Commit 6ec672d

Browse files
authored
Update jixieIdSystem_spec.js
1 parent eef6df6 commit 6ec672d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/spec/modules/jixieIdSystem_spec.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('JixieId Submodule', () => {
2525
const EID_TYPE2_LSNAME = 'somesha2ls';
2626
const EID_TYPE1_SAMPLEVALUE = 'pppppppppp';
2727
const EID_TYPE2_SAMPLEVALUE = 'eeeeeeeeee';
28-
28+
2929
it('should have the correct module name declared', () => {
3030
expect(jixieIdSubmodule.name).to.equal('jixieId');
3131
});
@@ -41,7 +41,7 @@ describe('JixieId Submodule', () => {
4141
});
4242
});
4343
});
44-
44+
4545
describe('getId()', () => {
4646
describe('getId', () => {
4747
context('when there is jixie_o in the window object (jx script on site)', () => {
@@ -218,7 +218,6 @@ describe('JixieId Submodule', () => {
218218
context('when has rather stale pbjs jixie cookie', () => {
219219
it('should call the server and set the id; send available extra info (e.g. esha,psha, consent if available)', () => {
220220
const consentData = {gdpr: {gdprApplies: 1, consentString: MOCK_CONSENT_STRING}};
221-
222221
storage.setCookie(PBJS_JXID_KEY, CLIENTID1, COOKIE_EXPIRATION_FUTURE)
223222
storage.setCookie(PBJS_IDLOGSTR_KEY, IDLOG_EXPIRED, COOKIE_EXPIRATION_FUTURE)
224223
storage.setCookie(EID_TYPE1_COOKIENAME, EID_TYPE1_SAMPLEVALUE, COOKIE_EXPIRATION_FUTURE)
@@ -275,7 +274,6 @@ describe('JixieId Submodule', () => {
275274
it('should still call the server even though thre is a pbs jixie id', () => {
276275
storage.setCookie(PBJS_JXID_KEY, CLIENTID1, COOKIE_EXPIRATION_FUTURE)
277276
storage.setCookie(PBJS_IDLOGSTR_KEY, 'junk', COOKIE_EXPIRATION_FUTURE)
278-
279277
const completeCallback = sinon.spy();
280278
const { callback } = jixieIdSubmodule.getId({
281279
params: {

0 commit comments

Comments
 (0)