Skip to content

Commit 0b75569

Browse files
committed
fix(): passthru test proxy
1 parent 16a085b commit 0b75569

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

test/futures-coinm/private.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe('Private Futures USDM REST API Endpoints', () => {
1212
api_key: API_KEY,
1313
api_secret: API_SECRET,
1414
},
15-
{ httpsAgent: getTestProxy() },
15+
getTestProxy(),
1616
);
1717
let book: CoinMSymbolOrderBookTicker[];
1818

test/futures-usdm/private.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('Private Futures USDM REST API Endpoints', () => {
1111
api_key: API_KEY,
1212
api_secret: API_SECRET,
1313
},
14-
{ httpsAgent: getTestProxy() },
14+
getTestProxy(),
1515
);
1616

1717
const symbol = 'BTCUSDT';

test/futures-usdm/public.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { USDMClient } from '../../src/usdm-client';
77
import { getTestProxy } from '../proxy.util';
88

99
describe('Public Futures USDM REST API Endpoints', () => {
10-
const api = new USDMClient({}, { httpsAgent: getTestProxy() });
10+
const api = new USDMClient({}, getTestProxy());
1111

1212
const symbol = 'BTCUSDT';
1313
const interval = '15m';

test/spot/private.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('Private Spot REST API Endpoints', () => {
1616
},
1717
{
1818
timeout: 1000 * 60,
19-
httpsAgent: getTestProxy(),
19+
...getTestProxy(),
2020
},
2121
);
2222

test/spot/public.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from '../response.util';
88

99
describe('Public Spot REST API Endpoints', () => {
10-
const api = new MainClient({}, { httpsAgent: getTestProxy() });
10+
const api = new MainClient({}, getTestProxy());
1111

1212
const symbol = 'BTCUSDT';
1313
const interval = '15m';

test/spot/staking.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe('Staking API Endpoints', () => {
1212
},
1313
{
1414
timeout: 1000 * 60,
15-
httpsAgent: getTestProxy(),
15+
...getTestProxy(),
1616
},
1717
);
1818

0 commit comments

Comments
 (0)