28 lines
702 B
TypeScript
28 lines
702 B
TypeScript
import { AccountAssetClient } from '../../src';
|
|
import { getTestProxy } from '../proxy.util';
|
|
import { successResponseObject } from '../response.util';
|
|
|
|
describe('Public Account Asset REST API Endpoints', () => {
|
|
const API_KEY = undefined;
|
|
const API_SECRET = undefined;
|
|
|
|
const api = new AccountAssetClient(
|
|
{
|
|
key: API_KEY,
|
|
secret: API_SECRET,
|
|
testnet: false,
|
|
},
|
|
getTestProxy(),
|
|
);
|
|
|
|
it('getSupportedDepositList()', async () => {
|
|
expect(await api.getSupportedDepositList()).toMatchObject(
|
|
successResponseObject(),
|
|
);
|
|
});
|
|
|
|
it('getServerTime()', async () => {
|
|
expect(await api.getServerTime()).toMatchObject(successResponseObject());
|
|
});
|
|
});
|