From 41d14bec22a7d11a370304e2fea4d2ef06df0e9c Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Thu, 23 May 2019 10:44:55 -0600 Subject: [PATCH] style: Prettify --- web3.js/test/bpf-loader.test.js | 4 +++- web3.js/test/mockrpc/get-recent-blockhash.js | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/web3.js/test/bpf-loader.test.js b/web3.js/test/bpf-loader.test.js index f8809a566d..a6d120bffb 100644 --- a/web3.js/test/bpf-loader.test.js +++ b/web3.js/test/bpf-loader.test.js @@ -42,7 +42,9 @@ test('load BPF Rust program', async () => { const connection = new Connection(url); const from = await newAccountWithLamports(connection, 1024); - const data = await fs.readFile('test/fixtures/noop-rust/solana_bpf_rust_noop.so'); + const data = await fs.readFile( + 'test/fixtures/noop-rust/solana_bpf_rust_noop.so', + ); const programId = await BpfLoader.load(connection, from, data); const transaction = new Transaction().add({ keys: [{pubkey: from.publicKey, isSigner: true}], diff --git a/web3.js/test/mockrpc/get-recent-blockhash.js b/web3.js/test/mockrpc/get-recent-blockhash.js index f6a4f5f4a3..f0e2f0f253 100644 --- a/web3.js/test/mockrpc/get-recent-blockhash.js +++ b/web3.js/test/mockrpc/get-recent-blockhash.js @@ -17,8 +17,10 @@ export function mockGetRecentBlockhash() { error: null, result: [ recentBlockhash.publicKey.toBase58(), - { /* empty fee calculator */} - ] + { + /* empty fee calculator */ + }, + ], }, ]); }