tranzak-node
Version:
TRANZAK API client for Nodejs
23 lines (19 loc) • 545 B
JavaScript
/**
* Copyright 2023 HolyCorn Software
* The tranzak-node library.
* This module tests the library in the domain of account management.
*/
/**
*
* @param {import('../../index.mjs').default} client
* @param {import('node:test')} test
*/
export default async function (client, test) {
await test('Accounts', async () => {
let accounts;
await test('Account Listings', async () => {
accounts = await client.account.list()
})
await test('Account Details', accounts[0].details())
})
}