Lint Fix
This commit is contained in:
parent
5fc9872f9e
commit
76bf7ac571
|
@ -2,7 +2,6 @@ const {
|
||||||
navigateToLogin, login, mockMessage, tapBack, searchRoom
|
navigateToLogin, login, mockMessage, tapBack, searchRoom
|
||||||
} = require('../../helpers/app');
|
} = require('../../helpers/app');
|
||||||
const data = require('../../data');
|
const data = require('../../data');
|
||||||
const platformTypes = require('../../helpers/platformTypes');
|
|
||||||
|
|
||||||
const channel = data.groups.private.name;
|
const channel = data.groups.private.name;
|
||||||
|
|
||||||
|
@ -13,13 +12,10 @@ const navigateToRoom = async() => {
|
||||||
};
|
};
|
||||||
|
|
||||||
describe('Discussion', () => {
|
describe('Discussion', () => {
|
||||||
let scrollViewType;
|
|
||||||
|
|
||||||
before(async() => {
|
before(async() => {
|
||||||
await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true });
|
await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true });
|
||||||
await navigateToLogin();
|
await navigateToLogin();
|
||||||
await login(data.users.regular.username, data.users.regular.password);
|
await login(data.users.regular.username, data.users.regular.password);
|
||||||
({ scrollViewType } = platformTypes[device.getPlatform()]);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should create discussion from NewMessageView', async() => {
|
it('should create discussion from NewMessageView', async() => {
|
||||||
|
|
|
@ -36,7 +36,6 @@ async function waitForLoading() {
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('Room', () => {
|
describe('Room', () => {
|
||||||
|
|
||||||
before(async() => {
|
before(async() => {
|
||||||
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
|
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
|
||||||
await navigateToLogin();
|
await navigateToLogin();
|
||||||
|
|
Loading…
Reference in New Issue