remove unused imports

This commit is contained in:
Anton Barboza 2021-09-22 14:17:56 -03:00
parent 00ec9f68ba
commit 82ed0938a5
7 changed files with 2 additions and 10 deletions

View File

@ -6,9 +6,6 @@ const axios = require('axios');
const httpPath = path.join(path.dirname(require.resolve('axios')), 'lib/adapters/http');
const http = require(httpPath);
const params = require('../params');
const e = require('./elements');
function getRandomInt(min, max) {
min = Math.ceil(min);
max = Math.floor(max);

View File

@ -1,6 +1,6 @@
const path = require('path');
const e = require('../core/elements');
const { ELEMENT_WAIT_TIME, ELEMENT_WAIT_LONGER_TIME } = require('../core/constants');
const { ELEMENT_WAIT_LONGER_TIME } = require('../core/constants');
const { checkElementLengthEqualTo, checkElementLengthDifferentTo, checkElementText } = require('../core/util');
async function autoJoinTest(test) {

View File

@ -1,6 +1,4 @@
const Notifications = require('./notifications/notifications');
const ShareScreen = require('./screenshare/screenshare');
const Audio = require('./audio/audio');
const Page = require('./core/page');
const { toMatchImageSnapshot } = require('jest-image-snapshot');
const { MAX_NOTIFICATIONS_TEST_TIMEOUT } = require('./core/constants'); // core constants (Timeouts vars imported)

View File

@ -2,7 +2,6 @@ const Page = require('../core/page');
const util = require('./util');
const e = require('../core/elements');
const { VIDEO_LOADING_WAIT_TIME } = require('../core/constants');
const { sleep } = require('../core/helper');
const { checkElementLengthEqualTo } = require('../core/util');
class ShareScreen extends Page {

View File

@ -1,5 +1,5 @@
const e = require('../core/elements');
const { ELEMENT_WAIT_TIME, VIDEO_LOADING_WAIT_TIME } = require('../core/constants');
const { VIDEO_LOADING_WAIT_TIME } = require('../core/constants');
const { checkElement } = require('../core/util');
async function startScreenshare(test) {

View File

@ -4,7 +4,6 @@ const util = require('../chat/util');
const utilUser = require('./util');
const e = require('../core/elements');
const { ELEMENT_WAIT_TIME } = require('../core/constants');
const { sleep } = require('../core/helper');
const { getElementLength, checkElementLengthEqualTo, checkElementLengthDifferentTo } = require('../core/util');
class MultiUsers {

View File

@ -1,4 +1,3 @@
const { ELEMENT_WAIT_TIME } = require('../core/constants');
const Page = require('../core/page');
const e = require('../core/elements');