Skip to content

Commit 6ea05ad

Browse files
committed
fix: added line space
1 parent 688c5ce commit 6ea05ad

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/store.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ export default function Store(
745745
if (launcherOptions && launcherOptions.hasOwnProperty('noFunctional')) {
746746
this.setNoFunctional(launcherOptions.noFunctional);
747747
}
748+
748749
if (launcherOptions && launcherOptions.hasOwnProperty('noTargeting')) {
749750
this.setNoTargeting(launcherOptions.noTargeting);
750751
}

test/jest/store.flags.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ describe('Store privacy flags', () => {
4949
launcherOptions: { noFunctional: true, noTargeting: true },
5050
flags: {},
5151
} as any;
52+
5253
store.processConfig(cfg);
54+
5355
expect(store.getNoFunctional()).toBe(true);
5456
expect(store.getNoTargeting()).toBe(true);
5557
});
@@ -59,7 +61,9 @@ describe('Store privacy flags', () => {
5961
launcherOptions: { noFunctional: true, noTargeting: false },
6062
flags: {},
6163
} as any;
64+
6265
store.processConfig(cfg);
66+
6367
expect(store.getNoFunctional()).toBe(true);
6468
expect(store.getNoTargeting()).toBe(false);
6569
});
@@ -69,7 +73,9 @@ describe('Store privacy flags', () => {
6973
launcherOptions: { noFunctional: false, noTargeting: true },
7074
flags: {},
7175
} as any;
76+
7277
store.processConfig(cfg);
78+
7379
expect(store.getNoFunctional()).toBe(false);
7480
expect(store.getNoTargeting()).toBe(true);
7581
});

0 commit comments

Comments
 (0)