diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-03 18:42:20 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-03 18:42:20 +0800 |
commit | d46fcb33c5874220d1383ef21353345a99d84cf5 (patch) | |
tree | fc595e1389ead00a78949e5cf4e9dd499326d6d0 /packages/connect | |
parent | d5e0da0eb64ab25cb8e03a61040702cf8e02391a (diff) | |
download | dexon-sol-tools-d46fcb33c5874220d1383ef21353345a99d84cf5.tar dexon-sol-tools-d46fcb33c5874220d1383ef21353345a99d84cf5.tar.gz dexon-sol-tools-d46fcb33c5874220d1383ef21353345a99d84cf5.tar.bz2 dexon-sol-tools-d46fcb33c5874220d1383ef21353345a99d84cf5.tar.lz dexon-sol-tools-d46fcb33c5874220d1383ef21353345a99d84cf5.tar.xz dexon-sol-tools-d46fcb33c5874220d1383ef21353345a99d84cf5.tar.zst dexon-sol-tools-d46fcb33c5874220d1383ef21353345a99d84cf5.zip |
Fix formatting
Diffstat (limited to 'packages/connect')
-rw-r--r-- | packages/connect/test/http_client_test.ts | 2 | ||||
-rw-r--r-- | packages/connect/test/orderbook_channel_message_parsers_test.ts | 2 | ||||
-rw-r--r-- | packages/connect/test/ws_orderbook_channel_test.ts | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/packages/connect/test/http_client_test.ts b/packages/connect/test/http_client_test.ts index 150c1062b..72d6ec0d6 100644 --- a/packages/connect/test/http_client_test.ts +++ b/packages/connect/test/http_client_test.ts @@ -10,7 +10,6 @@ import { HttpClient } from '../src/index'; import { feesResponse } from './fixtures/standard_relayer_api/fees'; import * as feesResponseJSON from './fixtures/standard_relayer_api/fees.json'; import { orderResponse } from './fixtures/standard_relayer_api/order/0xabc67323774bdbd24d94f977fa9ac94a50f016026fd13f42990861238897721f'; -// tslint:disable-next-line:max-line-length import * as orderResponseJSON from './fixtures/standard_relayer_api/order/0xabc67323774bdbd24d94f977fa9ac94a50f016026fd13f42990861238897721f.json'; import { orderbookResponse } from './fixtures/standard_relayer_api/orderbook'; import * as orderbookJSON from './fixtures/standard_relayer_api/orderbook.json'; @@ -92,7 +91,6 @@ describe('HttpClient', () => { baseTokenAddress: '0x323b5d4c32345ced77393b3530b1eed0f346429d', quoteTokenAddress: '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32', }; - // tslint:disable-next-line:max-line-length const url = `${relayUrl}/v0/orderbook?baseTokenAddress=${request.baseTokenAddress}"eTokenAddress=${ request.quoteTokenAddress }`; diff --git a/packages/connect/test/orderbook_channel_message_parsers_test.ts b/packages/connect/test/orderbook_channel_message_parsers_test.ts index 5ca3433b9..e6cc05fed 100644 --- a/packages/connect/test/orderbook_channel_message_parsers_test.ts +++ b/packages/connect/test/orderbook_channel_message_parsers_test.ts @@ -4,7 +4,6 @@ import 'mocha'; import { orderbookChannelMessageParsers } from '../src/utils/orderbook_channel_message_parsers'; -// tslint:disable-next-line:max-line-length import { orderResponse } from './fixtures/standard_relayer_api/order/0xabc67323774bdbd24d94f977fa9ac94a50f016026fd13f42990861238897721f'; import { orderbookResponse } from './fixtures/standard_relayer_api/orderbook'; import { @@ -59,7 +58,6 @@ describe('orderbookChannelMessageParsers', () => { }); it('throws when snapshot message has malformed payload', () => { const badCall = () => orderbookChannelMessageParsers.parser(malformedSnapshotOrderbookChannelMessage); - // tslint:disable-next-line:max-line-length const errMsg = 'Validation errors: instance.payload requires property "bids", instance.payload requires property "asks"'; expect(badCall).throws(errMsg); diff --git a/packages/connect/test/ws_orderbook_channel_test.ts b/packages/connect/test/ws_orderbook_channel_test.ts index 82a5da0a8..ce404d934 100644 --- a/packages/connect/test/ws_orderbook_channel_test.ts +++ b/packages/connect/test/ws_orderbook_channel_test.ts @@ -39,7 +39,6 @@ describe('WebSocketOrderbookChannel', () => { {}, emptyOrderbookChannelHandler, ); - // tslint:disable-next-line:max-line-length expect(badSubscribeCall).throws( 'Expected subscriptionOpts to conform to schema /RelayerApiOrderbookChannelSubscribePayload\nEncountered: {}\nValidation errors: instance requires property "baseTokenAddress", instance requires property "quoteTokenAddress"', ); |