From 035dfb84cf1efb1279352821db744e0478c4709b Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 24 Dec 2018 15:23:51 -0500 Subject: [PATCH] refactor(@embark/embark-ui) remove unused variables --- src/test/modules/console_listener.js | 124 +++++++++++++-------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/src/test/modules/console_listener.js b/src/test/modules/console_listener.js index c3ac23fdb..e4f36abd0 100644 --- a/src/test/modules/console_listener.js +++ b/src/test/modules/console_listener.js @@ -12,14 +12,12 @@ let events, consoleListener, ipc, embark, - loggerErrors = [], loggerInfos = [], eventsEmitted = [], ipcRequest, contractsList; function resetTest() { - loggerErrors = []; loggerInfos = []; eventsEmitted = []; ipcRequest = { @@ -31,66 +29,68 @@ function resetTest() { gasUsed: "0x0", status: "yay" }; - contractsList = [{ - abiDefinition: [ - { - "constant": true, - "inputs": [], - "name": "storedData", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "x", - "type": "uint256" - } - ], - "name": "set", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "get", - "outputs": [ - { - "name": "retVal", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "initialValue", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - } - ], - deployedAddress: "0x12345", - className: "SimpleStorage", - silent: true - }]; + contractsList = [ + { + abiDefinition: [ + { + "constant": true, + "inputs": [], + "name": "storedData", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "x", + "type": "uint256" + } + ], + "name": "set", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "get", + "outputs": [ + { + "name": "retVal", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "name": "initialValue", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + } + ], + deployedAddress: "0x12345", + className: "SimpleStorage", + silent: true + } + ]; events = new Events(); logger = new Logger(events);