UNPKG

undedoloremque

Version:
37 lines (29 loc) 826 B
import { describe, expect, test } from '@jest/globals'; import { ACCOUNT_ADDRESS } from './env'; import { client } from './utils'; /** * test account information */ describe('accountQuery', () => { describe('getAccount', () => { test('it works', async () => { const res = await client.account.getAccount(ACCOUNT_ADDRESS); expect(res).not.toBeNull(); }); }); describe('getAccountBalance', () => { test('it works', async () => { const res = await client.account.getAccountBalance({ address: ACCOUNT_ADDRESS, denom: 'BNB', }); expect(res).not.toBeNull(); }); }); describe('getModuleAccounts', () => { test('it works', async () => { const res = await client.account.getModuleAccounts(); expect(res).not.toBeNull(); }); }); });