diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2017-12-08 02:35:18 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2017-12-08 06:40:16 +0800 |
commit | 3c64b33f5c12e565b1567095034ff4cee86005b4 (patch) | |
tree | af3225d0f3236d2682a923d347d679f82b11a4f8 /packages/connect/test | |
parent | f1ecdcf6029debbd2183511080b302a4fccc6703 (diff) | |
download | dexon-sol-tools-3c64b33f5c12e565b1567095034ff4cee86005b4.tar dexon-sol-tools-3c64b33f5c12e565b1567095034ff4cee86005b4.tar.gz dexon-sol-tools-3c64b33f5c12e565b1567095034ff4cee86005b4.tar.bz2 dexon-sol-tools-3c64b33f5c12e565b1567095034ff4cee86005b4.tar.lz dexon-sol-tools-3c64b33f5c12e565b1567095034ff4cee86005b4.tar.xz dexon-sol-tools-3c64b33f5c12e565b1567095034ff4cee86005b4.tar.zst dexon-sol-tools-3c64b33f5c12e565b1567095034ff4cee86005b4.zip |
Update connect types in preperation for publishing
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 3d72ca185..21e7abb69 100644 --- a/packages/connect/test/http_client_test.ts +++ b/packages/connect/test/http_client_test.ts @@ -61,12 +61,12 @@ describe('HttpClient', () => { const orders = await relayerClient.getOrdersAsync(); expect(orders).to.be.deep.equal(ordersResponse); }); - it('gets specfic orders for request', async () => { + it('gets specific orders for request', async () => { const tokenAddress = '0x323b5d4c32345ced77393b3530b1eed0f346429d'; const ordersRequest = { - tokenA: tokenAddress, + tokenAddress, }; - const urlWithQuery = `${url}?tokenA=${tokenAddress}`; + const urlWithQuery = `${url}?tokenAddress=${tokenAddress}`; fetchMock.get(urlWithQuery, ordersResponseJSON); const orders = await relayerClient.getOrdersAsync(ordersRequest); expect(orders).to.be.deep.equal(ordersResponse); |