Skip to content

Commit

Permalink
Merge pull request #22 from nathan-pubx/PTOW-2-resolving-conflicts
Browse files Browse the repository at this point in the history
'fixing' tests
  • Loading branch information
pnhegde authored Jul 4, 2024
2 parents 4bee0d5 + acdb5b6 commit 636970b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/spec/modules/pubxaiAnalyticsAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const readBlobSafariCompat = (blob) => {

describe('pubxai analytics adapter', () => {
beforeEach(() => {
getGlobal().refreshUserIds()
sinon.stub(events, 'getEvents').returns([]);
});

Expand Down Expand Up @@ -591,7 +592,7 @@ describe('pubxai analytics adapter', () => {
cdep: true,
},
userDetail: {
userIdTypes: [],
userIdTypes: Object.keys(getGlobal().getUserIds?.() || {}),
},
consentDetail: {
consentTypes: Object.keys(getGlobal().getConsentMetadata?.() || {}),
Expand Down Expand Up @@ -685,7 +686,7 @@ describe('pubxai analytics adapter', () => {
cdep: true,
},
userDetail: {
userIdTypes: [],
userIdTypes: Object.keys(getGlobal().getUserIds?.() || {}),
},
consentDetail: {
consentTypes: Object.keys(getGlobal().getConsentMetadata?.() || {}),
Expand Down

0 comments on commit 636970b

Please sign in to comment.