Skip to content

Commit cba8679

Browse files
committed
test: source privacy flag from launcherOptions
1 parent e86d69b commit cba8679

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/src/tests-identity.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,14 +657,14 @@ describe('identity', function() {
657657
});
658658

659659
it('should NOT save id cache to local storage when noFunctional is true', async () => {
660-
mParticle.config.noFunctional = true;
660+
mParticle.config.launcherOptions = { noFunctional: true };
661661
mParticle.init(apiKey, window.mParticle.config);
662662
await waitForCondition(hasIdentifyReturned);
663663
expect(localStorage.getItem('mprtcl-v4_abcdef-id-cache')).not.to.be.ok;
664664
});
665665

666666
it('should save id cache to local storage when noFunctional is false', async () => {
667-
mParticle.config.noFunctional = false;
667+
mParticle.config.launcherOptions = { noFunctional: false };
668668
mParticle.init(apiKey, window.mParticle.config);
669669
await waitForCondition(hasIdentifyReturned);
670670
expect(localStorage.getItem('mprtcl-v4_abcdef-id-cache')).to.be.ok;

0 commit comments

Comments
 (0)