diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-05 22:58:23 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:38 +0800 |
commit | bef056b08407a90cb30b118935a1a155c37766bb (patch) | |
tree | 0b0e18707eba25f936c31105c419ddcf9ec75408 /packages/0x.js/test/exchange_wrapper_test.ts | |
parent | c8c86c44f8b978d74e03c11d4bb1813e76574af3 (diff) | |
download | dexon-0x-contracts-bef056b08407a90cb30b118935a1a155c37766bb.tar.gz dexon-0x-contracts-bef056b08407a90cb30b118935a1a155c37766bb.tar.zst dexon-0x-contracts-bef056b08407a90cb30b118935a1a155c37766bb.zip |
Fix linter issues
Diffstat (limited to 'packages/0x.js/test/exchange_wrapper_test.ts')
-rw-r--r-- | packages/0x.js/test/exchange_wrapper_test.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/0x.js/test/exchange_wrapper_test.ts b/packages/0x.js/test/exchange_wrapper_test.ts index c501ce998..39a5be61d 100644 --- a/packages/0x.js/test/exchange_wrapper_test.ts +++ b/packages/0x.js/test/exchange_wrapper_test.ts @@ -33,13 +33,6 @@ const blockchainLifecycle = new BlockchainLifecycle(constants.RPC_URL); const NON_EXISTENT_ORDER_HASH = '0x79370342234e7acd6bbeac335bd3bb1d368383294b64b8160a00f4060e4d3777'; -function noError<T>(err: Error | null, value: T | undefined): value is T { - if (_.isNull(err)) { - throw err; - } - return _.isNull(err); -} - describe('ExchangeWrapper', () => { let web3: Web3; let zeroEx: ZeroEx; |