From 336950624dba461b951250d981d936394e50218e Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 23 Feb 2023 09:59:27 -0300 Subject: [PATCH] Lint --- e2e/helpers/data_setup.ts | 2 +- e2e/tests/assorted/11-deeplinking.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/helpers/data_setup.ts b/e2e/helpers/data_setup.ts index b03fa443c..61f64003d 100644 --- a/e2e/helpers/data_setup.ts +++ b/e2e/helpers/data_setup.ts @@ -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, diff --git a/e2e/tests/assorted/11-deeplinking.spec.ts b/e2e/tests/assorted/11-deeplinking.spec.ts index b75034da3..89b611888 100644 --- a/e2e/tests/assorted/11-deeplinking.spec.ts +++ b/e2e/tests/assorted/11-deeplinking.spec.ts @@ -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' };