Eslint formatting updates (#4234)
* Eslint updated (newline-after-var) * Fix newline-after-var * Eslint updated (one-var-declaration-per-line) * Fix one-var-declaration-per-line * Fix additional errors * Lint after merge
This commit is contained in:
@@ -34,6 +34,7 @@ function stubApi (blockNumber) {
|
||||
eth: {
|
||||
blockNumber: () => {
|
||||
const stub = sinon.stub().resolves(new BigNumber(blockNumber || START_BLOCK))();
|
||||
|
||||
_calls.blockNumber.push(stub);
|
||||
return stub;
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ function stubApi (accounts, info) {
|
||||
parity: {
|
||||
allAccountsInfo: () => {
|
||||
const stub = sinon.stub().resolves(info || TEST_INFO)();
|
||||
|
||||
_calls.allAccountsInfo.push(stub);
|
||||
return stub;
|
||||
}
|
||||
@@ -43,6 +44,7 @@ function stubApi (accounts, info) {
|
||||
eth: {
|
||||
accounts: () => {
|
||||
const stub = sinon.stub().resolves(accounts || TEST_LIST)();
|
||||
|
||||
_calls.listAccounts.push(stub);
|
||||
return stub;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user