From 4242eee7397a0639bbf4f44ecf1d46638a9ea8ff Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Sun, 5 Apr 2020 22:10:24 +0800 Subject: [PATCH] chore: fix lint --- web3.js/test/connection.test.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/web3.js/test/connection.test.js b/web3.js/test/connection.test.js index 690893ad69..0bb283518b 100644 --- a/web3.js/test/connection.test.js +++ b/web3.js/test/connection.test.js @@ -982,10 +982,7 @@ test('transaction failure', async () => { }, }, ]); - await connection.requestAirdrop( - account.publicKey, - minimumAmount + 100010, - ); + await connection.requestAirdrop(account.publicKey, minimumAmount + 100010); expect(await connection.getBalance(account.publicKey)).toBe( minimumAmount + 100010, ); @@ -1034,7 +1031,7 @@ test('transaction failure', async () => { await sleep(1000); expect(await connection.confirmTransaction(signature)).toEqual(false); - const expectedErr = { InstructionError: [ 0, 'AccountBorrowFailed' ] }; + const expectedErr = {InstructionError: [0, 'AccountBorrowFailed']}; mockRpc.push([ url, {