chore(): route tests via proxy instead of github CI address

This commit is contained in:
tiagosiebler
2023-08-18 16:21:13 +01:00
parent 9bc1ff89c6
commit 21ac313f38
37 changed files with 581 additions and 415 deletions

View File

@@ -1,19 +1,23 @@
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,
});
const api = new AccountAssetClient(
{
key: API_KEY,
secret: API_SECRET,
testnet: false,
},
getTestProxy(),
);
it('getSupportedDepositList()', async () => {
expect(await api.getSupportedDepositList()).toMatchObject(
successResponseObject()
successResponseObject(),
);
});