remove unused imports
This commit is contained in:
parent
00ec9f68ba
commit
82ed0938a5
@ -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);
|
||||
|
@ -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) {
|
||||
|
@ -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)
|
||||
|
@ -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 {
|
||||
|
@ -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) {
|
||||
|
@ -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 {
|
||||
|
@ -1,4 +1,3 @@
|
||||
const { ELEMENT_WAIT_TIME } = require('../core/constants');
|
||||
const Page = require('../core/page');
|
||||
const e = require('../core/elements');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user