Skip to content

Commit ebb8b48

Browse files
committed
chore: updated jest and integration test message
1 parent 998e413 commit ebb8b48

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
@@ -1725,7 +1725,7 @@ describe('batch uploader', () => {
17251725
window.mParticle._resetForTests(MPConfig);
17261726
});
17271727

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

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

0 commit comments

Comments
 (0)