aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/test
diff options
context:
space:
mode:
Diffstat (limited to 'packages/connect/test')
-rw-r--r--packages/connect/test/http_client_test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/connect/test/http_client_test.ts b/packages/connect/test/http_client_test.ts
index 7a1781131..6d5ab288a 100644
--- a/packages/connect/test/http_client_test.ts
+++ b/packages/connect/test/http_client_test.ts
@@ -143,7 +143,7 @@ describe('HttpClient', () => {
takerAssetData: '0x0257179264389b814a946f3e92105513705ca6b990',
exchangeAddress: '0x12459c951127e0c374ff9105dda097662a027093',
};
- const url = `${relayUrl}/fees`;
+ const url = `${relayUrl}/order_config`;
it('gets fees', async () => {
fetchMock.post(url, orderConfigResponseJSON);
const fees = await relayerClient.getOrderConfigAsync(request);
@@ -151,9 +151,9 @@ describe('HttpClient', () => {
});
it('does not mutate input', async () => {
fetchMock.post(url, orderConfigResponseJSON);
- const makerAssetAmountBefore = new BigNumber(request.makerAssetAmount);
- const takerAssetAmountBefore = new BigNumber(request.takerAssetAmount);
- const expirationTimeSecondsBefore = new BigNumber(request.expirationTimeSeconds);
+ const makerAssetAmountBefore = request.makerAssetAmount;
+ const takerAssetAmountBefore = request.takerAssetAmount;
+ const expirationTimeSecondsBefore = request.expirationTimeSeconds;
await relayerClient.getOrderConfigAsync(request);
expect(makerAssetAmountBefore).to.be.deep.equal(request.makerAssetAmount);
expect(takerAssetAmountBefore).to.be.deep.equal(request.takerAssetAmount);