Skip to content

Commit 537e2ea

Browse files
Address PR Comments
1 parent b6a0be6 commit 537e2ea

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

test/src/tests-cookie-syncing.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ describe('cookie syncing', function() {
176176
const data2 = mParticle
177177
.getInstance()
178178
._Persistence.getLocalStorage();
179-
data1[testMPID].csd[5].should.be.ok;
180-
data2['otherMPID'].csd[5].should.be.ok;
181-
expect(
179+
expect(data1[testMPID].csd[5]).to.be.ok;
180+
expect(data2['otherMPID'].csd[5]).to.be.ok;
181+
expect(
182182
mParticle.getInstance()._Store.pixelConfigurations.length
183183
).to.equal(1);
184184

@@ -379,7 +379,7 @@ describe('cookie syncing', function() {
379379
.getInstance()
380380
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, null);
381381

382-
enabled.should.not.be.ok;
382+
expect(enabled).to.not.be.ok;
383383

384384
done();
385385
});
@@ -415,7 +415,7 @@ describe('cookie syncing', function() {
415415
const enabled = mParticle
416416
.getInstance()
417417
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
418-
enabled.should.not.be.ok;
418+
expect(enabled).to.not.be.ok;
419419
done();
420420
});
421421

@@ -450,7 +450,7 @@ describe('cookie syncing', function() {
450450
.getInstance()
451451
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
452452

453-
enabled.should.not.be.ok;
453+
expect(enabled).to.not.be.ok;
454454

455455
done();
456456
});
@@ -487,7 +487,7 @@ describe('cookie syncing', function() {
487487
const enabled = mParticle
488488
.getInstance()
489489
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
490-
enabled.should.be.ok;
490+
expect(enabled).to.be.ok;
491491

492492
done();
493493
});
@@ -523,7 +523,7 @@ describe('cookie syncing', function() {
523523
const enabled = mParticle
524524
.getInstance()
525525
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
526-
enabled.should.be.ok;
526+
expect(enabled).to.be.ok;
527527

528528
done();
529529
});
@@ -559,7 +559,7 @@ describe('cookie syncing', function() {
559559
const enabled = mParticle
560560
.getInstance()
561561
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
562-
enabled.should.not.be.ok;
562+
expect(enabled).to.not.be.ok;
563563

564564
done();
565565
});
@@ -595,7 +595,7 @@ describe('cookie syncing', function() {
595595
const enabled = mParticle
596596
.getInstance()
597597
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
598-
enabled.should.be.ok;
598+
expect(enabled).to.be.ok;
599599

600600
done();
601601
});
@@ -631,7 +631,7 @@ describe('cookie syncing', function() {
631631
const enabled = mParticle
632632
.getInstance()
633633
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
634-
enabled.should.be.ok;
634+
expect(enabled).to.be.ok;
635635

636636
done();
637637
});
@@ -667,7 +667,7 @@ describe('cookie syncing', function() {
667667
const enabled = mParticle
668668
.getInstance()
669669
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
670-
enabled.should.be.ok;
670+
expect(enabled).to.be.ok;
671671

672672
done();
673673
});
@@ -702,7 +702,7 @@ describe('cookie syncing', function() {
702702
const enabled = mParticle
703703
.getInstance()
704704
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
705-
enabled.should.not.be.ok;
705+
expect(enabled).to.not.be.ok;
706706

707707
done();
708708
});
@@ -737,7 +737,7 @@ describe('cookie syncing', function() {
737737
const enabled = mParticle
738738
.getInstance()
739739
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
740-
enabled.should.not.be.ok;
740+
expect(enabled).to.not.be.ok;
741741

742742
done();
743743
});
@@ -772,7 +772,7 @@ describe('cookie syncing', function() {
772772
const enabled = mParticle
773773
.getInstance()
774774
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
775-
enabled.should.be.ok;
775+
expect(enabled).to.be.ok;
776776

777777
done();
778778
});
@@ -807,7 +807,7 @@ describe('cookie syncing', function() {
807807
const enabled = mParticle
808808
.getInstance()
809809
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
810-
enabled.should.be.ok;
810+
expect(enabled).to.be.ok;
811811

812812
done();
813813
});
@@ -842,7 +842,7 @@ describe('cookie syncing', function() {
842842
const enabled = mParticle
843843
.getInstance()
844844
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
845-
enabled.should.not.be.ok;
845+
expect(enabled).to.not.be.ok;
846846

847847
done();
848848
});
@@ -877,7 +877,7 @@ describe('cookie syncing', function() {
877877
const enabled = mParticle
878878
.getInstance()
879879
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
880-
enabled.should.be.ok;
880+
expect(enabled).to.be.ok;
881881

882882
done();
883883
});
@@ -912,7 +912,7 @@ describe('cookie syncing', function() {
912912
const enabled = mParticle
913913
.getInstance()
914914
._Consent.isEnabledForUserConsent(filteringConsentRuleValues, user);
915-
enabled.should.be.ok;
915+
expect(enabled).to.be.ok;
916916

917917
done();
918918
});

0 commit comments

Comments
 (0)