Skip to content

Commit db8c08e

Browse files
committed
chore: updated jest and integration test message
1 parent 3b0b0eb commit db8c08e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/jest/batchUploader.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe('BatchUploader', () => {
148148
expect(localStorage.getItem('mprtcl-v4_abcdef-batches')).toBeNull();
149149
});
150150

151-
it('should enable offline storage when noFunctional is default (false)', async () => {
151+
it('should enable offline storage when noFunctional is false by default', async () => {
152152
const uploader = new BatchUploader(mockMPInstance, 1000);
153153

154154
expect(uploader['offlineStorageEnabled']).toBe(true);

test/src/tests-batchUploader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1724,7 +1724,7 @@ describe('batch uploader', () => {
17241724
window.mParticle._resetForTests(MPConfig);
17251725
});
17261726

1727-
it('should store events in session storage when noFunctional is default (false)', async () => {
1727+
it('should store batches in local storage when noFunctional is false by default', async () => {
17281728
window.mParticle.config.flags = {
17291729
offlineStorage: '100',
17301730
...enableBatchingConfigFlags,
@@ -1770,7 +1770,7 @@ describe('batch uploader', () => {
17701770
expect(!!window.sessionStorage.getItem(eventStorageKey)).to.equal(true);
17711771
});
17721772

1773-
it('should store batches in local storage when noFunctional is default false by default', async () => {
1773+
it('should store batches in local storage when noFunctional is false by default', async () => {
17741774
window.mParticle.init(apiKey, window.mParticle.config);
17751775
await waitForCondition(hasIdentifyReturned);
17761776
const mpInstance = window.mParticle.getInstance();

0 commit comments

Comments
 (0)