mirror of
https://github.com/Expand-sys/ccash-client-js
synced 2026-03-22 12:27:09 +11:00
19 lines
393 B
TypeScript
19 lines
393 B
TypeScript
import { CCashClient } from '@/CCashClient';
|
|
|
|
describe('CCashClient', () => {
|
|
describe('constructor', () => {});
|
|
|
|
describe('instance', () => {
|
|
let client;
|
|
|
|
beforeEach(() => {
|
|
client = new CCashClient();
|
|
});
|
|
|
|
describe('balance', () => {
|
|
it('returns an integer', async () => {
|
|
expect(await client.balance('twix')).toEqual(10);
|
|
});
|
|
});
|
|
});
|
|
});
|