From 5eb49764b3b9ce2a8fa55ee55d384aedd4cccc27 Mon Sep 17 00:00:00 2001 From: Vincent Date: Tue, 28 Apr 2020 12:12:06 +1000 Subject: [PATCH] lint --- integration_test/common.js | 10 +++------- integration_test/message_sync_test.js | 12 ++---------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/integration_test/common.js b/integration_test/common.js index 8eb506349..a6e1d8b14 100644 --- a/integration_test/common.js +++ b/integration_test/common.js @@ -335,8 +335,7 @@ module.exports = { await app.client .element(ConversationPage.createClosedGroupMemberItem) - .isVisible() - .should.eventually.be.true; + .isVisible().should.eventually.be.true; // select the first friend as a member of the groups being created await app.client @@ -344,8 +343,7 @@ module.exports = { .click(); await app.client .element(ConversationPage.createClosedGroupMemberItemSelected) - .isVisible() - .should.eventually.be.true; + .isVisible().should.eventually.be.true; // trigger the creation of the group await app.client @@ -359,9 +357,7 @@ module.exports = { await app.client.isExisting( ConversationPage.headerTitleGroupName(this.VALID_CLOSED_GROUP_NAME1) ).should.eventually.be.true; - await app.client - .element(ConversationPage.headerTitleMembers(2)) - .isVisible() + await app.client.element(ConversationPage.headerTitleMembers(2)).isVisible() .should.eventually.be.true; // validate overlay is closed diff --git a/integration_test/message_sync_test.js b/integration_test/message_sync_test.js index e422bc52d..4d40c97a9 100644 --- a/integration_test/message_sync_test.js +++ b/integration_test/message_sync_test.js @@ -7,12 +7,11 @@ const common = require('./common'); describe('Message Syncing', function() { let app; let app2; - let app3; this.timeout(60000); this.slow(15000); beforeEach(async () => { - // await common.killallElectron(); + await common.killallElectron(); await common.stopStubSnodeServer(); const app1Props = { @@ -27,16 +26,9 @@ describe('Message Syncing', function() { stubSnode: true, }; - const app3Props = { - mnemonic: common.TEST_MNEMONIC3, - displayName: common.TEST_DISPLAY_NAME3, - stubSnode: true, - }; - - [app, app2, app3] = await Promise.all([ + [app, app2] = await Promise.all([ common.startAndStub(app1Props), common.startAndStubN(app2Props, 2), - common.startAndStubN(app3Props, 3), ]); });