From 4c797405ad3c96387e6edc33a14c23d65ea2b596 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Tue, 13 Feb 2018 15:36:51 -0800 Subject: Addressed PR feedback --- packages/connect/test/http_client_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/connect/test') 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); -- cgit v1.2.3