From e6b4f88d17bdbd01737bb365c4f35905c58e078f Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 11 Sep 2019 00:11:49 +0800 Subject: [PATCH] lint fix --- test/e2e/ethereum-on.spec.js | 9 --------- test/e2e/helpers.js | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/test/e2e/ethereum-on.spec.js b/test/e2e/ethereum-on.spec.js index 71ecbd70a..144da97a4 100644 --- a/test/e2e/ethereum-on.spec.js +++ b/test/e2e/ethereum-on.spec.js @@ -1,18 +1,11 @@ -const path = require('path') const assert = require('assert') const webdriver = require('selenium-webdriver') const { By, until } = webdriver const { delay, - buildChromeWebDriver, - buildFirefoxWebdriver, - installWebExt, - getExtensionIdChrome, - getExtensionIdFirefox, } = require('./func') const { checkBrowserForConsoleErrors, - closeAllWindowHandlesExcept, findElement, findElements, openNewPage, @@ -24,7 +17,6 @@ const { } = require('./helpers') describe('MetaMask', function () { - let extensionId let driver let publicAddress @@ -38,7 +30,6 @@ describe('MetaMask', function () { before(async function () { const result = await prepareExtensionForTesting() driver = result.driver - extensionId = result.extensionId await setupFetchMocking(driver) }) diff --git a/test/e2e/helpers.js b/test/e2e/helpers.js index 7ab78e895..9e12ba8da 100644 --- a/test/e2e/helpers.js +++ b/test/e2e/helpers.js @@ -39,7 +39,7 @@ module.exports = { } -async function prepareExtensionForTesting ({ responsive }={}) { +async function prepareExtensionForTesting ({ responsive } = {}) { let driver, extensionId, extensionUrl const targetBrowser = process.env.SELENIUM_BROWSER switch (targetBrowser) {