diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-02-14 07:36:51 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-02-14 07:50:28 +0800 |
commit | 4c797405ad3c96387e6edc33a14c23d65ea2b596 (patch) | |
tree | ff1493fcb371e5c3c20f95efc15a78cead5cc1bf /packages/connect/test | |
parent | 713c922e351b284a4a17cde4899b133bfe939c4d (diff) | |
download | dexon-sol-tools-4c797405ad3c96387e6edc33a14c23d65ea2b596.tar dexon-sol-tools-4c797405ad3c96387e6edc33a14c23d65ea2b596.tar.gz dexon-sol-tools-4c797405ad3c96387e6edc33a14c23d65ea2b596.tar.bz2 dexon-sol-tools-4c797405ad3c96387e6edc33a14c23d65ea2b596.tar.lz dexon-sol-tools-4c797405ad3c96387e6edc33a14c23d65ea2b596.tar.xz dexon-sol-tools-4c797405ad3c96387e6edc33a14c23d65ea2b596.tar.zst dexon-sol-tools-4c797405ad3c96387e6edc33a14c23d65ea2b596.zip |
Addressed PR feedback
Diffstat (limited to 'packages/connect/test')
-rw-r--r-- | packages/connect/test/http_client_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/connect/test/http_client_test.ts b/packages/connect/test/http_client_test.ts index 62a159628..93b252ace 100644 --- a/packages/connect/test/http_client_test.ts +++ b/packages/connect/test/http_client_test.ts @@ -51,7 +51,7 @@ describe('HttpClient', () => { const tokenPairsRequestOpts = { tokenA: tokenAddress, page: 3, - per_page: 50, + perPage: 50, }; const urlWithQuery = `${url}?page=3&per_page=50&tokenA=${tokenAddress}`; fetchMock.get(urlWithQuery, tokenPairsResponseJSON); @@ -76,7 +76,7 @@ describe('HttpClient', () => { const ordersRequest = { tokenAddress, page: 3, - per_page: 50, + perPage: 50, }; const urlWithQuery = `${url}?page=3&per_page=50&tokenAddress=${tokenAddress}`; fetchMock.get(urlWithQuery, ordersResponseJSON); @@ -122,7 +122,7 @@ describe('HttpClient', () => { fetchMock.get(urlWithQuery, orderbookJSON); const pagedRequestOptions = { page: 3, - per_page: 50, + perPage: 50, }; const orderbook = await relayerClient.getOrderbookAsync(request, pagedRequestOptions); expect(orderbook).to.be.deep.equal(orderbookResponse); |