From 5b9029f20b151b547b3c201923af2ba2efe0c1fb Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Wed, 13 Oct 2021 13:04:32 +0530 Subject: [PATCH] linting fix --- apps/remix-ide/src/app/tabs/test-tab.js | 2 +- libs/remix-tests/src/deployer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/test-tab.js b/apps/remix-ide/src/app/tabs/test-tab.js index e68e4f2755..5aa04d0a62 100644 --- a/apps/remix-ide/src/app/tabs/test-tab.js +++ b/apps/remix-ide/src/app/tabs/test-tab.js @@ -499,7 +499,7 @@ module.exports = class TestTab extends ViewPlugin { usingWorker: canUseWorker(currentVersion), runs } - this.testRunner.runTestSources(runningTest, compilerConfig, () => {}, () => {}, (error, result) => { + this.testRunner.runTestSources(runningTest, compilerConfig, () => {}, () => {}, null, (error, result) => { if (error) return reject(error) resolve(result) }, (url, cb) => { diff --git a/libs/remix-tests/src/deployer.ts b/libs/remix-tests/src/deployer.ts index 47305b4a48..d700b08de5 100644 --- a/libs/remix-tests/src/deployer.ts +++ b/libs/remix-tests/src/deployer.ts @@ -79,7 +79,7 @@ export function deployAll (compileResult: compilationInterface, web3: Web3, with contracts[contractName] = contractObject contracts[contractName].filename = filename - if(deployCb) await deployCb(filename, receipt.contractAddress) + if (deployCb) await deployCb(filename, receipt.contractAddress) callback(null, { receipt: { contractAddress: receipt.contractAddress } }) // TODO this will only work with JavaScriptV VM }).on('error', function (err) { console.error(err)