aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2017-11-15 11:10:43 +0800
committerBrandon Millman <brandon.millman@gmail.com>2017-11-15 11:10:43 +0800
commitc315ca6c0c95e61e10f52919cb0946fd980bca25 (patch)
treee117cb5faf17a5a31cd739e350b5136a9e6db2bd /packages
parent655b0636facc110e9192cc7c3190f4b16f212be9 (diff)
downloaddexon-0x-contracts-c315ca6c0c95e61e10f52919cb0946fd980bca25.tar.gz
dexon-0x-contracts-c315ca6c0c95e61e10f52919cb0946fd980bca25.tar.zst
dexon-0x-contracts-c315ca6c0c95e61e10f52919cb0946fd980bca25.zip
Fix lint error
Diffstat (limited to 'packages')
-rw-r--r--packages/connect/test/ws_orderbook_channel_test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/connect/test/ws_orderbook_channel_test.ts b/packages/connect/test/ws_orderbook_channel_test.ts
index 6752950d9..1f4c98302 100644
--- a/packages/connect/test/ws_orderbook_channel_test.ts
+++ b/packages/connect/test/ws_orderbook_channel_test.ts
@@ -29,8 +29,7 @@ describe('WebSocketOrderbookChannel', () => {
const badSubscribeCall = orderbookChannel.subscribe.bind(
orderbookChannel, {}, 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"');
+ expect(badSubscribeCall).throws('Expected subscriptionOpts to conform to schema /RelayerApiOrderbookChannelSubscribePayload\nEncountered: {}\nValidation errors: instance requires property "baseTokenAddress", instance requires property "quoteTokenAddress"');
});
it('throws when handler has the incorrect members', () => {
const badSubscribeCall = orderbookChannel.subscribe.bind(orderbookChannel, subscriptionOpts, {});