Skip to content

Commit

Permalink
fixed nits
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyboylehub committed Jan 3, 2025
1 parent da43c9f commit 2766787
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions packages/umi-rpc-web3js/test/getGenesisHash.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import { createNullContext } from '@metaplex-foundation/umi';
import test from 'ava';
import { createWeb3JsRpc } from '../src';

const LOCALHOST = 'http://127.0.0.1:8899';

test('fetches and returns a genesis hash', async (t) => {
// Given an RPC client.
const rpc = createWeb3JsRpc(createNullContext(), LOCALHOST);
const rpc = createWeb3JsRpc(
createNullContext(),
'https://api.devnet.solana.com'
);

// When we get the rent for a given amount of bytes.
const hash = await rpc.getGenesisHash();
Expand Down
2 changes: 1 addition & 1 deletion packages/umi-rpc-web3js/test/simulateTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ test('simulates a V0 transaction', async (t) => {
);
});

test('simulates a transaction and fails with insufficant rent err', async (t) => {
test('simulates a transaction and fails with Insufficient rent err', async (t) => {
// Given an RPC client.

const context = createNullContext();
Expand Down

0 comments on commit 2766787

Please sign in to comment.