Skip to content

Commit

Permalink
fix(tests): update ario test
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Mar 1, 2024
1 parent d9ee23e commit 4208bd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,14 @@ const balance = arIO.getBalance({
Retrieves the balances of the ArIO contract.
```typescript
<!--
// ALM - A part of me wonders whether streaming JSON might be beneficial in the future
// and if providing streaming versions of these APIs will scale nicely longer term, e.g.
// arIO.streamBalances({ sortingCriteria: BALANCE_DESC });
-->
```typescript

const arIO = new ArIO();
const balances = arIO.getBalances();
// output
Expand Down
2 changes: 0 additions & 2 deletions tests/ar-io.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ describe('ArIO Client', () => {
const arioClient = new ArIO();

expect(arioClient).toBeInstanceOf(ArIO);
expect(arioClient.testnet).toBeDefined();
expect(arioClient.devnet).toBeDefined();
});
});

0 comments on commit 4208bd0

Please sign in to comment.