fix test and jsdoc
This commit is contained in:
@@ -61,10 +61,7 @@ export default abstract class BaseRestClient {
|
||||
abstract getClientType(): RestClientType;
|
||||
|
||||
/**
|
||||
* Create an instance of the REST client
|
||||
* @param {string} key - your API key
|
||||
* @param {string} secret - your API secret
|
||||
* @param {boolean} [useLivenet=false]
|
||||
* Create an instance of the REST client. Pass API credentials in the object in the first parameter.
|
||||
* @param {RestClientOptions} [restClientOptions={}] options to configure REST API connectivity
|
||||
* @param {AxiosRequestConfig} [networkOptions={}] HTTP networking options for axios
|
||||
*/
|
||||
|
||||
@@ -6,8 +6,7 @@ import {
|
||||
} from '../response.util';
|
||||
|
||||
describe('Public Linear REST API Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const api = new LinearClient(undefined, undefined, useLivenet);
|
||||
const api = new LinearClient();
|
||||
|
||||
const symbol = 'BTCUSDT';
|
||||
const interval = '15';
|
||||
|
||||
@@ -6,8 +6,7 @@ import {
|
||||
} from '../response.util';
|
||||
|
||||
describe('Public Spot REST API Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const api = new SpotClient(undefined, undefined, useLivenet);
|
||||
const api = new SpotClient();
|
||||
|
||||
const symbol = 'BTCUSDT';
|
||||
const interval = '15m';
|
||||
|
||||
@@ -5,8 +5,7 @@ import {
|
||||
} from '../response.util';
|
||||
|
||||
describe('Public Spot REST API Endpoints', () => {
|
||||
const useLivenet = true;
|
||||
const api = new SpotClientV3(undefined, undefined, useLivenet);
|
||||
const api = new SpotClientV3();
|
||||
|
||||
const symbol = 'BTCUSDT';
|
||||
const interval = '15m';
|
||||
|
||||
Reference in New Issue
Block a user