Skip to content

Commit 035dfb8

Browse files
committed
refactor(@embark/embark-ui) remove unused variables
1 parent c693db9 commit 035dfb8

File tree

1 file changed

+62
-62
lines changed

1 file changed

+62
-62
lines changed

src/test/modules/console_listener.js

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ let events,
1212
consoleListener,
1313
ipc,
1414
embark,
15-
loggerErrors = [],
1615
loggerInfos = [],
1716
eventsEmitted = [],
1817
ipcRequest,
1918
contractsList;
2019

2120
function resetTest() {
22-
loggerErrors = [];
2321
loggerInfos = [];
2422
eventsEmitted = [];
2523
ipcRequest = {
@@ -31,66 +29,68 @@ function resetTest() {
3129
gasUsed: "0x0",
3230
status: "yay"
3331
};
34-
contractsList = [{
35-
abiDefinition: [
36-
{
37-
"constant": true,
38-
"inputs": [],
39-
"name": "storedData",
40-
"outputs": [
41-
{
42-
"name": "",
43-
"type": "uint256"
44-
}
45-
],
46-
"payable": false,
47-
"stateMutability": "view",
48-
"type": "function"
49-
},
50-
{
51-
"constant": false,
52-
"inputs": [
53-
{
54-
"name": "x",
55-
"type": "uint256"
56-
}
57-
],
58-
"name": "set",
59-
"outputs": [],
60-
"payable": false,
61-
"stateMutability": "nonpayable",
62-
"type": "function"
63-
},
64-
{
65-
"constant": true,
66-
"inputs": [],
67-
"name": "get",
68-
"outputs": [
69-
{
70-
"name": "retVal",
71-
"type": "uint256"
72-
}
73-
],
74-
"payable": false,
75-
"stateMutability": "view",
76-
"type": "function"
77-
},
78-
{
79-
"inputs": [
80-
{
81-
"name": "initialValue",
82-
"type": "uint256"
83-
}
84-
],
85-
"payable": false,
86-
"stateMutability": "nonpayable",
87-
"type": "constructor"
88-
}
89-
],
90-
deployedAddress: "0x12345",
91-
className: "SimpleStorage",
92-
silent: true
93-
}];
32+
contractsList = [
33+
{
34+
abiDefinition: [
35+
{
36+
"constant": true,
37+
"inputs": [],
38+
"name": "storedData",
39+
"outputs": [
40+
{
41+
"name": "",
42+
"type": "uint256"
43+
}
44+
],
45+
"payable": false,
46+
"stateMutability": "view",
47+
"type": "function"
48+
},
49+
{
50+
"constant": false,
51+
"inputs": [
52+
{
53+
"name": "x",
54+
"type": "uint256"
55+
}
56+
],
57+
"name": "set",
58+
"outputs": [],
59+
"payable": false,
60+
"stateMutability": "nonpayable",
61+
"type": "function"
62+
},
63+
{
64+
"constant": true,
65+
"inputs": [],
66+
"name": "get",
67+
"outputs": [
68+
{
69+
"name": "retVal",
70+
"type": "uint256"
71+
}
72+
],
73+
"payable": false,
74+
"stateMutability": "view",
75+
"type": "function"
76+
},
77+
{
78+
"inputs": [
79+
{
80+
"name": "initialValue",
81+
"type": "uint256"
82+
}
83+
],
84+
"payable": false,
85+
"stateMutability": "nonpayable",
86+
"type": "constructor"
87+
}
88+
],
89+
deployedAddress: "0x12345",
90+
className: "SimpleStorage",
91+
silent: true
92+
}
93+
];
9494

9595
events = new Events();
9696
logger = new Logger(events);

0 commit comments

Comments
 (0)