fix(snjs): remove unnecessary file uploaded event in tests

This commit is contained in:
Karol Sójko
2022-11-23 15:04:04 +01:00
parent c45417623c
commit b05c793fe9

View File

@@ -164,12 +164,6 @@ describe('settings service', function () {
await Files.uploadFile(application.fileService, buffer, 'my-file', 'md', 1000)
await Factory.publishMockedEvent('FILE_UPLOADED', {
userUuid: user.uuid,
fileByteSize: 123,
filePath: 'foobar',
fileName: 'barbuzz',
})
await Factory.sleep(1)
const limitSettingBefore = await application.settings.getSubscriptionSetting('FILE_UPLOAD_BYTES_LIMIT')