From 0fac2dd93974f7072e5e3a73ef705836e163dcac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Thu, 24 Nov 2022 17:03:37 +0100 Subject: [PATCH] fix(snjs): decrease factory sleep in order to have a continuing session - run e2e --- packages/snjs/mocha/settings.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/snjs/mocha/settings.test.js b/packages/snjs/mocha/settings.test.js index c8c57ed94..079e16b3d 100644 --- a/packages/snjs/mocha/settings.test.js +++ b/packages/snjs/mocha/settings.test.js @@ -156,7 +156,7 @@ describe('settings service', function () { billingFrequency: 12, payAmount: 59.00 }) - await Factory.sleep(2) + await Factory.sleep(1) const response = await fetch('/packages/snjs/mocha/assets/small_file.md') const buffer = new Uint8Array(await response.arrayBuffer()) @@ -182,7 +182,7 @@ describe('settings service', function () { billingFrequency: 12, payAmount: 59.00 }) - await Factory.sleep(2) + await Factory.sleep(1) await Factory.publishMockedEvent('SUBSCRIPTION_PURCHASED', { userEmail: context.email, @@ -199,7 +199,7 @@ describe('settings service', function () { billingFrequency: 12, payAmount: 59.00 }) - await Factory.sleep(2) + await Factory.sleep(1) const limitSettingAfter = await application.settings.getSubscriptionSetting('FILE_UPLOAD_BYTES_LIMIT') expect(limitSettingAfter).to.equal(limitSettingBefore)