diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2017-11-15 11:10:43 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2017-11-15 11:10:43 +0800 |
commit | c315ca6c0c95e61e10f52919cb0946fd980bca25 (patch) | |
tree | e117cb5faf17a5a31cd739e350b5136a9e6db2bd | |
parent | 655b0636facc110e9192cc7c3190f4b16f212be9 (diff) | |
download | dexon-sol-tools-c315ca6c0c95e61e10f52919cb0946fd980bca25.tar dexon-sol-tools-c315ca6c0c95e61e10f52919cb0946fd980bca25.tar.gz dexon-sol-tools-c315ca6c0c95e61e10f52919cb0946fd980bca25.tar.bz2 dexon-sol-tools-c315ca6c0c95e61e10f52919cb0946fd980bca25.tar.lz dexon-sol-tools-c315ca6c0c95e61e10f52919cb0946fd980bca25.tar.xz dexon-sol-tools-c315ca6c0c95e61e10f52919cb0946fd980bca25.tar.zst dexon-sol-tools-c315ca6c0c95e61e10f52919cb0946fd980bca25.zip |
Fix lint error
-rw-r--r-- | packages/connect/test/ws_orderbook_channel_test.ts | 3 |
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, {}); |