Lint
This commit is contained in:
parent
8cd40abe3a
commit
336950624d
|
@ -17,7 +17,7 @@ const rocketchat = axios.create({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const login = async (username: string, password: string) => {
|
export const login = async (username: string, password: string) => {
|
||||||
console.log(`Logging in as user ${username}`);
|
console.log(`Logging in as user ${username}`);
|
||||||
const response = await rocketchat.post('login', {
|
const response = await rocketchat.post('login', {
|
||||||
user: username,
|
user: username,
|
||||||
|
|
|
@ -9,7 +9,7 @@ import {
|
||||||
TTextMatcher,
|
TTextMatcher,
|
||||||
expectValidRegisterOrRetry
|
expectValidRegisterOrRetry
|
||||||
} from '../../helpers/app';
|
} from '../../helpers/app';
|
||||||
import { createRandomRoom, createRandomUser, get, login, sendMessage } from '../../helpers/data_setup';
|
import { createRandomRoom, createRandomUser, login, sendMessage } from '../../helpers/data_setup';
|
||||||
import random from '../../helpers/random';
|
import random from '../../helpers/random';
|
||||||
|
|
||||||
const DEEPLINK_METHODS = { AUTH: 'auth', ROOM: 'room' };
|
const DEEPLINK_METHODS = { AUTH: 'auth', ROOM: 'room' };
|
||||||
|
|
Loading…
Reference in New Issue