This commit is contained in:
Diego Mello 2023-02-23 09:59:27 -03:00
parent 8cd40abe3a
commit 336950624d
2 changed files with 2 additions and 2 deletions

View File

@ -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}`);
const response = await rocketchat.post('login', {
user: username,

View File

@ -9,7 +9,7 @@ import {
TTextMatcher,
expectValidRegisterOrRetry
} 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';
const DEEPLINK_METHODS = { AUTH: 'auth', ROOM: 'room' };